Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Display Views, Uploaded By, and Date Uploaded under thumb???  (Read 3299 times)

0 Members and 1 Guest are viewing this topic.

ScathDeSolas

  • Coppermine newbie
  • Offline Offline
  • Posts: 4

I want to display how many views, the person who uploaded "username", and the date it was uploaded under the thumbnail

Code: [Select]
<?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(); 
?>
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.