PDA

View Full Version : Name given to a new upload


msbc
6th of October 2003 (Mon), 23:19
Pekka,

When I upload a new photo with 1.5b3fp2 it gets given the name 'New photo'. Is there a way to get a more meaningful name - an IPTC property or something ?

Thanks,
Mark

Pekka
7th of October 2003 (Tue), 09:47
msbc wrote:
Pekka,

When I upload a new photo with 1.5b3fp2 it gets given the name 'New photo'. Is there a way to get a more meaningful name - an IPTC property or something ?

Thanks,
Mark

IPTC data is used for e.g. header and description and if there is such data found it overrides default photodata settings.

Maybe the photo IPTC can not be read or there is none. I've seen that e.g. Capture One IPTC can not be read by PHP, but when you save it in Photoshop it can be read.

Also, note that "Save for web.." in Photoshop removes all IPTC and EXIF data.

msbc
7th of October 2003 (Tue), 18:37
Pekka wrote:
IPTC data is used for e.g. header and description and if there is such data found it overrides default photodata settings.


Pekka, found it - it's the 'Object name' IPTC field.

Do you have a list of the IPTC fields that EE will read and where they are displayed in an exhibition?

Thanks,
Mark

msbc
8th of October 2003 (Wed), 16:02
bump

Pekka
8th of October 2003 (Wed), 17:30
msbc wrote:
bump

Please, no one bumps here but me! :)

If you investigate itpc.php and datahandler.php it's all there:


if EXIF datetime is not available: IPTC creation date + IPTC creation time

if IPTC caption has something, use it as photo text, else use EXIF comment

If IPTC headline has something it is used for photo header, If IPTC header has something it overrides it, else use default.

if EXIF copyright is empty, then see if IPTC credit has something.

IPTC country is used.

IPTC city is used as location.

msbc
8th of October 2003 (Wed), 23:24
Pekka wrote:
msbc wrote:
bump

Please, no one bumps here but me! :)


Oops, sorry.