Bug or Feature? Image information available if image was deleted

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?

Comments

  • Not sure that there ever was a different behavior. When the database is not in sync with the images you have to refresh it.
  • Its no Problem to sync the database. I just noticed it and remember never seeing this before.
  • trisweb Administrator
    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.
  • I hope, I did it right :)

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

    I took “SVN” because “nightly build” is not available.
  • trisweb Administrator
    Thanks, looks like Stephen fixed it already :) He's fast. Thanks Stephen.
  • 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...
  • acrylian Administrator, Developer
    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).
  • 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
Sign In or Register to comment.