Member
Member
mlodszy   2013-05-23, 18:23
#1

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()

Administrator
Administrator
acrylian   2013-05-23, 18:45
#2

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.)

Member
Member
mlodszy   2013-05-23, 20:09
#3

I will try, but can you tell me - it's refresh all files in gallery or only in specify directory?

Member
Member
sbillard   2013-05-23, 21:42
#4

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.

Member
Member
mlodszy   2013-05-23, 22:39
#5

Thank you for information. I will test it tomorrow and write feedback.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.