forum.coppermine-gallery.net

Support => cpg1.4.x Support => Older/other versions => cpg1.4 cpmFetch by vuud => Topic started by: webhigh on February 26, 2011, 08:07:36 pm

Title: Fetch displaying broken links of pictures that have been deleted still
Post by: webhigh on February 26, 2011, 08:07:36 pm
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