Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Display Views, Uploaded By, and Date Uploaded under thumb???  (Read 3843 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.018 seconds with 20 queries.