ZenphotoCMS Forum
Bug or Feature? Image information available if image was deleted - 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: Bug or Feature? Image information available if image was deleted (/thread-2219.html)



Bug or Feature? Image information available if image was deleted - DirkSohler - 2008-02-08

Hi there,

im using the latest nightly, and i recognized a weird problem. If i delete an image via FTP, it will leave a empty thumbnail frame.

http://img263.imageshack.us/img263/9489/31927910pr3.jpg

Iven if i reload the page and deleting the browser’s cache or restart the browser. Only if i rebuild the database via zenphoto’s administration interface the image information will be deleted.

Iirc the behaviour of the non-nightly-version was, that the image information was removed after i deleted the picture.

What do i have to do, to get the old behaviour back?




Bug or Feature? Image information available if image was deleted - sbillard - 2008-02-09

Not sure that there ever was a different behavior. When the database is not in sync with the images you have to refresh it.




Bug or Feature? Image information available if image was deleted - DirkSohler - 2008-02-09

Its no Problem to sync the database. I just noticed it and remember never seeing this before.




Bug or Feature? Image information available if image was deleted - trisweb - 2008-02-09

This is a problem. Zenphoto should only show what is on the filesystem, never what is in the database only. Previous behavior was to show filesystem images only, and query the database for their information. Database should not have to be manually refreshed every time images are deleted, renamed, etc.

File a bug report.




Bug or Feature? Image information available if image was deleted - DirkSohler - 2008-02-09

I hope, I did it right

http://www.zenphoto.org/trac/ticket/383

I took “SVN” because “nightly build” is not available.




Bug or Feature? Image information available if image was deleted - trisweb - 2008-02-10

Thanks, looks like Stephen fixed it already He's fast. Thanks Stephen.




Bug or Feature? Image information available if image was deleted - dieblume - 2008-02-20

hope to understand your question and i think i got nearly the same problem
last week.

i found out, that empty thumbnails could also be caused by hidden-files.
e.g. using os x platform, and then upload a zip-file to your album-folder.
as your result you'll find your images/thumbnails and for each image a
second hidden-file.

i didnt found out how to handle it on my osx system,
so i use windows for zipping and uploading fotos...




Bug or Feature? Image information available if image was deleted - acrylian - 2008-02-20

OS X 10.4 should not have the hidden file problem with the built in zip-function. Take a look at www.macupdate.com for several alternatives (one well know would be Stuffit).




Bug or Feature? Image information available if image was deleted - jsumners - 2008-02-20

The hidden file is a Mac OS X resource file. It stores the metadata that HFS+ keeps on the file when the file is being copied to another filesystem. I haven't had any issue with ZenPhoto seeing this hidden file when I upload images to my gallery. If you are, though, the simplest way to deal with it would be to just delete the hidden files after uploading. Or, use this Automator workflow -- http://mikepiontek.com/software/mac/create-clean-archive.html