Changing display order of IPTC data Changing display order of IPTC data
 

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

Changing display order of IPTC data

Started by Puffinstuff, June 18, 2006, 12:23:43 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Puffinstuff

I am trying to change the order in which IPTC data is displayed under 'File Information'

I have put relevent field at the top of the following arrays:

English.php file.
$lang_picinfo = array(
  'iptcCaptionWriter'=>'Print Size', //spb

Displayimage.php
if (isset($iptc) && is_array($iptc)) {
      array_walk($iptc, 'sanitize_data');
      if (isset($iptc['CaptionWriter'])) $info[$lang_picinfo['iptcCaptionWriter']] = $iptc['CaptionWriter'];//SPB

Iptc.incl.php
$IPTC_data=array(       "CaptionWriter"                =>         $iptc["2#122"][0],       # Max 32 octets, non-repeatable, alphanumeric


This does not seem to affect the display order.

How do I change the order in which they are displayed under the image?

Thanks in advance...
www.lumieres.com.au

Paver

Try this plugin: Filter File Information Fields on Image Display Page.  I just added a manual sort feature.  I plan to add a web-based configuration panel in the future, but I have no idea when that will be.  The manual sorting does the trick for me, for now.

Let me know if there are any IPTC issues in the plugin.  I don't use IPTC myself, so I haven't tested that.

Puffinstuff

Thanks Paver.... looks like thats what I am looking for.   Will try and then check back.

Regards