News:

CRITICAL UPGRADE CPG RELEASE 1.6.30
Version 1.6.30 removes a serious security issue that could allow unauthorized access to modify your site. Upgrade as soon as possible.

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