Refresh image that

In my zenphoto instalation, people use FTP to upload images and sometimes their do a new version of it (same file name).

My question is - if there is any way to refresh image date of such image. I don't find it admin panel or don't find any good fuction to insert into theme to do that.

I now that it's storage in DB and to get it i use getImageDate()

Comments

  • acrylian Administrator, Developer
    You should embed the date within the image metadata. Then you could do a meta data refresh.

    Note if the new image has a new name it is not considered as "new" by Zenphoto (file system based.)
  • mlodszy Member
    I will try, but can you tell me - it's refresh all files in gallery or only in specify directory?
  • Presumably when the new image is uploaded it has a different "MTIME" from the old. In this case the metadata will automatically refresh. But for good reasons, Zenphoto does not override things in the database other than the EXIF/IPTC fields.

    You can refresh the whole gallery or individual albums. The latter are done from the albums tabs.
  • mlodszy Member
    Thank you for information. I will test it tomorrow and write feedback.
Sign In or Register to comment.