Advanced search  

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]

Pages: [1]   Go Down

Author Topic: IPTC title not shown  (Read 2171 times)

0 Members and 1 Guest are viewing this topic.

diedhert

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
IPTC title not shown
« on: March 03, 2013, 10:26:38 pm »

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
Logged

diedhert

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 35
Re: IPTC title not shown
« Reply #1 on: March 04, 2013, 08:26:59 am »

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.
Logged

Αndré

  • Administrator
  • Coppermine addict
  • *****
  • Country: de
  • Offline Offline
  • Gender: Male
  • Posts: 15764
Re: IPTC title not shown
« Reply #2 on: March 04, 2013, 05:07:39 pm »

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
Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 19 queries.