Need Help calling out data from Plugin
Posted: Thu Mar 12, 2009 12:59 pm
I have this plugin developed by zenphoto
I Included that plugin file into the page like this:
Where I run into problem is I dont know how to code that php tag so that it will show the images in the body.
The code that comes from the plugin is:
So I have to use that code above and create the PHP script to call out thumbnails.
Im a newbie in this php coding and I have no idea how to code this.
I have talked to the zenphoto guys on their forums, but they assume that I know how to code in php, and so their answers leave me clueless. I need help from experts.
You can view my original forum conversation at zenphoto at http://www.zenphoto.org/support/topic.php?id=5101 I think this will help you better figure out what I'm trying to say here.
Any help is appreciated
Thanks ahead of time for your support
Ben
I Included that plugin file into the page like this:
What the plugin does is call out 5 image thumbs from the included plugin and spits them on the page.<?php define('ZENFOLDER', 'zp-core');
define('WEBPATH', 'zenphoto');
require_once(WEBPATH . "/" . ZENFOLDER . "/plugins/image_album_statistics.php" ) ;
?>
Where I run into problem is I dont know how to code that php tag so that it will show the images in the body.
The code that comes from the plugin is:
Code: Select all
void printLatestImages( [string $number = 5], [string $albumfolder = ''], [bool $showtitle = false], [bool $showdate = false], [bool $showdesc = false], [integer $desclength = 40], [string $showstatistic = ''], [integer $width = 85], [integer $height = 85], [bool $crop = true], [bool $collection = false] )Im a newbie in this php coding and I have no idea how to code this.
I have talked to the zenphoto guys on their forums, but they assume that I know how to code in php, and so their answers leave me clueless. I need help from experts.
You can view my original forum conversation at zenphoto at http://www.zenphoto.org/support/topic.php?id=5101 I think this will help you better figure out what I'm trying to say here.
Any help is appreciated
Thanks ahead of time for your support
Ben