Jump to content

Need Help with PHP script that calls data from Plugin


bgbs

Recommended Posts

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:

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

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.