Member
Member
olihar   02-05-2010, 07:52
#1

Hi gang.

Just playing with the current nightly build I noticed one thing.

zenphoto version 1.2.9 [5356]

When I do
`

`
I get the Description from the IPTC data of the file. On a little closer look it seems there is an error somewhere in the code where the data is pulled from the file, instead of taking the name of the file or the Title tag from the IPTC it is pulling data from the description tag.

At least with the ZenPage theme, but again closer look I can see the bug in the admin under albums as well.

`

`
Still does output the correct data.

Screenshots
http://img.skitch.com/20100502-p6fs1y2b1xeawn661ry3c23smp.jpg
http://img.skitch.com/20100502-kfhdqssgh73shc44agspdnq2fm.jpg
http://img.skitch.com/20100502-j6a8n721y1c3493n3rsggq7pg9.jpg

Administrator
Administrator
acrylian   02-05-2010, 08:13
#2

I think best would be to open a ticket and attach one of the images this happens with so we can try to reproduce it.

Did you try a metadata refresh?

Member
Member
olihar   02-05-2010, 08:25
#3

It is a fresh install test on MAMP Pro.

I tried Refresh metadata and same story.

I however noticed if the description field is empty in the JPG image it does pull the file name correctly.

http://img.skitch.com/20100502-gcqyx45aswp69ybe5g2kss9igi.jpg

Administrator
Administrator
acrylian   02-05-2010, 09:07
#4

Please open a ticket as mentioned above so sbillard who is the expert on this spots this later.

Member
Member
olihar   02-05-2010, 09:23
#5

I have indeed, I hope I did it right.

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

Administrator
Administrator
acrylian   02-05-2010, 11:11
#6

Yep, best you post a link to an image this occurs on. So we can check if this is an import issue or an EXIF problem (different cameras/programs sometimes do different things..).

Member
Member
sbillard   02-05-2010, 17:23
#7

I have looked at your ticket. What you are seeing is a confusion caused by the EXIF specification. The "description" [sic] field is the title of the image.

Member
Member
olihar   02-05-2010, 20:01
#8

So are you saying this is normal? This is the first time I am seeing this like this for ZenPhoto.

ZenPhoto always used just pulled the Title tag or in my case because I leave that one empty it pulls the name of the file minus the jpg extension.

To me getting the Description of a file pulled to name the image title is a bit strange as the description can ofter be very long.

http://img.skitch.com/20100502-8snpfma1um6c65abq95wpyb2bi.jpg
http://img.skitch.com/20100502-drb53ci17qnyk3qcp2ejs182b4.jpg
http://img.skitch.com/20100502-3ky8btfushsys5k43ahsb27rb.jpg

Just out of curiosity would I be able to change it back to the way it used to be. As well I am trying to understand what exactly is wrong.

Member
Member
olihar   02-05-2010, 20:17
#9

Ok been digging around a little bit. I have a question about this here. from class-image.php

//EXIF title [sic] if (empty($title)) { $title = $this->get('EXIFDescription'); }
Why was this change made?

When I remove this it goes back to good old behavior.

http://img.skitch.com/20100502-kkmpf1236sk91r6icne9gbfk6g.jpg

to me it should be like this if it should stay there to say. Filename and drop extension.

//EXIF title [sic] if (empty($title)) { $title = $this->get('displayname'); }

Member
Member
sbillard   03-05-2010, 01:01
#10

This was not a change. (except to test to see if the title has not already beens set.) You are, of course, free to make any changes you wish. However, the EXIF spec does say that the "EXIFdescription" is the image title and we have always honored that.

The "caption" field is what is used for the zenphoto description.

Member
Member
olihar   03-05-2010, 03:04
#11

I guess Adobe is once again not going with the standards then. I will make the change to my setup, I use Adobe Photoshop Lightroom for all my cataloging, as my current live 1.2.6 RC1 does not behave this way, that's why I am a bit surprised to see you saying that this has always been like this.

Administrator
Administrator
acrylian   03-05-2010, 08:47
#12

Not all from Adobe as with my CS3 Bridge it seems to do it right.

Member
Member
gmh   12-05-2010, 13:57
#13

I just updated to 1.2.9 and am having the same problem with the description (caption field) being used for the image title. I am using the same camera and software (Lightroom) that I used before the update. If the caption field is empty then the file name is used for the image title otherwise it uses the caption as the title. I would like to figure out how to fix this, as I have thousands of images that now have a long description as the image title.

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