I am using a recent installation of zenphoto. I have a problem that I can't seem to solve. The names of the images in my gallery aren't coming from the titles of the files that I am uploading. They are coming from the meta data. An example would be below.
M&H-17.0-34.6-16-Side, 8/17/11, 11:52 AM, 8C, 7096x7241 (588+1854), 100%, Custom, 1/8 s, R103.1, G78.3, B95.9
The name of the actual file is M&H-17.0-34.6-16-Side. I just can't get the name to work. Even if I rename the image to something completely different, the title won't change in the gallery. Does anyone have any ideas?
Comments
So presumably your camera or processing software is setting that string in the metadata such that Zenphoto is choosing it for the title.
So your choices are:
1. Set the titles via the Zenphoto administrative interface
2. Set the metadata in your images via some metadata editor.
3. Use the development build and disable the metadata field that contains the wrong information.
4. In your theme, print the image file name rather than the title.
<?php printImageTitle(true); ?>
to
<?php echo $_zp_current_image->getFileName(); ?>
Worked like a charm. Thanks again. I love the software.