![]() |
|
Refresh image that - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Refresh image that (/thread-11076.html) |
Refresh image that - mlodszy - 2013-05-23 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() Refresh image that - acrylian - 2013-05-23 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.) Refresh image that - mlodszy - 2013-05-23 I will try, but can you tell me - it's refresh all files in gallery or only in specify directory? Refresh image that - sbillard - 2013-05-23 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. Refresh image that - mlodszy - 2013-05-23 Thank you for information. I will test it tomorrow and write feedback. |