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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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(14$options);
  
$objCpm->cpm_close(); 
?>