Advanced search  

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

Pages: [1]   Go Down

Author Topic: IPTC title not shown  (Read 2158 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.017 seconds with 20 queries.