News:

CPG Release 1.6.31
Minor maintenance release
Clean up remaining remnants of the .net CPG website
Improved installer_stub compatibility with various server configurations

Main Menu

Display Views, Uploaded By, and Date Uploaded under thumb???

Started by ScathDeSolas, May 10, 2009, 08:00:37 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ScathDeSolas

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(); 
?>