Display filename as title

Hi community.

With 1.2.9 is it somehow possible to display the filename instead of the title?

Or would be the easiest way to write the filename to the exif title before upping the pictures to the server?

Thanks for any hints,

Hannes

Comments

  • acrylian Administrator, Developer
    Actually Zenphoto always uses the filename (minus suffix) as the title if it is not set via EXIF or later entered on the backend.

    If you want the filename to display on your site itself, there are functions available to do this. Please see the documentation. Requires of course changing the theme.
  • If you don't assign a specific title when you upload the images, the filename is used, I believe. At least, that's how it works for me, but I move images into the album folder directly instead of using the upload utility.
  • You could certainly edit your theme to display the filename instead of the title. You would have to change the calls of `printImageTitle()` to `echo $_zp_current_image->getFileName()`.

    If you would prefer to take the alternate route, there are plenty of programs to edit EXIF info out there. Which one you choose is all a matter of preference.
Sign In or Register to comment.