Thumbnail doesn't update when overwrite image file

I have a gallery which displays images from a security camera. When motion is detected, the camera server sends the images by FTP to the gallery, overwriting the last images sent. The thumbnails displayed are of the first set of images sent, but when new images are FTP'd to the same files (overwriting them), the thumbnails don't update, although if you click on the thumbnail, it displays the new image full-size. How can I make the thumbnails update to the new image? This newbie would greatly appreciate any help. Cheers.

Comments

  • try to delete generated thumb in cache directory
  • Fine. But this will be a continuous process with image files being over-written every time a new image is sent by FTP. I guess ZP checks to see if an image file (album file) has an associated thumb file in the cache with the same file name. So when ZP checks it finds a thumb associated with the image file, it displays it, without noticing that the content of the image file has changed. So the thumb no longer represents the image in that image file. Unless this has a simple work around, I suppose I need to adjust the code so that the thumb is re-created at each refresh, even if there is alredy a thumb matching an existing file name in the album. Any help appreciated - I ain't no programmer!!
Sign In or Register to comment.