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: Fetch displaying broken links of pictures that have been deleted still  (Read 3828 times)

0 Members and 1 Guest are viewing this topic.

webhigh

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 20

Using CMine version 1.4.1.9
Fetch version - 2.0

http://gca-alumni.org/

The database is empty and I only have one image uploaded in the Albums. Coppermine is working fine by itself.

code for fetch on page:

  <?php
  include_once "alumni_photo_gallery/cpmfetch/cpmfetch.php";
  $_SERVER["SCRIPT_FILENAME"] = $_SERVER['PHP_SELF']; 
  $objCpm = new cpm("./alumni_photo_gallery/cpmfetch/cpmfetch_config.php");
  $options = array(
  "subtitle" => "<center>{{aTitle}}</center",
  "linktemplate"=>'http://gca-alumni.org/alumni_photo_gallery/albums/{{pFilepath}}normal_{{pFilename}}" title="{{aTitle}} Album" rel="lightbox[alumni]"');
  $objCpm->cpm_viewRandomMediaFrom("cat=partners:album=tours",2, 6, $options);
  $objCpm->cpm_close();
?>


My question is how do I get rid of the broken link images for files that are deleted.

Is there a cache file that needs to emptied ?

Thanks
Logged
Pages: [1]   Go Up
 

Page created in 0.013 seconds with 19 queries.