forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: ScathDeSolas on May 10, 2009, 08:00:37 pm
-
I want to display how many views, the person who uploaded "username", and the date it was uploaded under the thumbnail
<?php
include_once "./gallery/cpmfetch/cpmfetch.php";
$objCpm = new cpm("./gallery/cpmfetch/cpmfetch_config.php");
$options = array(
"subtitle" => "Username: {{???}}" ,
"subtitle" => "Date: {{???}}" ,
"subtitle" => "Views: {{???}}" ,
"imagesize" => "int",
"imagestyle" => "someCSSName",
"imagewidth" => "100"
);
$objCpm->cpm_viewLastAddedMedia(1, 4, $options);
$objCpm->cpm_close();
?>