Need Help calling out data from Plugin

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
bgbs
Forum Newbie
Posts: 6
Joined: Thu Mar 12, 2009 11:23 am

Need Help calling out data from Plugin

Post by bgbs »

I have this plugin developed by zenphoto
I Included that plugin file into the page like this:
<?php define('ZENFOLDER', 'zp-core');
define('WEBPATH', 'zenphoto');
require_once(WEBPATH . "/" . ZENFOLDER . "/plugins/image_album_statistics.php" ) ;
?>
What the plugin does is call out 5 image thumbs from the included plugin and spits them on the page.
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]  )
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
User avatar
Benjamin
Site Administrator
Posts: 6935
Joined: Sun May 19, 2002 10:24 pm

Re: Need Help calling out data from Plugin

Post by Benjamin »

Did you read the function guide as requested?

http://www.zenphoto.org/2008/04/how-to- ... ons-guide/
Post Reply