IPTC title not shown IPTC title not shown
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

IPTC title not shown

Started by diedhert, March 03, 2013, 10:26:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

diedhert

Hello all
I noticed that when I am do a batch upload of files, Coppermine is not showing the IPTC title as the title below the thumbnails.
I think this changed after upgrading to version 1,5,22 last week.

The IPTC title is filled in in the file itself (so it is not empty), but coppermine seems not to read or extract it.

Does anyone know how to resolve this problem ?
Diederik

diedhert

Found the solution myself.
For one or another reason in the latest version line 69 in  cpg1.5.x > include > picmgmt.inc.php file
is changed from

$title = (isset($iptc['Title'])) ? $iptc['Title'] : $title;

to

$title = (isset($iptc['Headline'])) ? $iptc['Headline'] : $title;

That makes much sense, because it seems that the code is wrond. I opened the file and replaced it to the first line, and everything works fine now.

ΑndrĂ©

Please read this thread for more information why the code has been changed in that way: http://forum.coppermine-gallery.net/index.php/topic,61380.0.html