IPTC title not shown IPTC title not shown
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

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