4images Forum & Community

4images Issues / Ausgaben => Feedback & Suggestions => Topic started by: edwin on January 03, 2006, 12:54:53 AM

Title: IPTC order
Post by: edwin on January 03, 2006, 12:54:53 AM
Is it possible to alter the order in wich the IPTC info is shown, and if so where should i do this

Now ity's description, name, date
And i want it to be description, date name

thanks
Title: Re: IPTC order
Post by: V@no on January 03, 2006, 08:58:51 AM
In includes/functions.php find:
Code: [Select]
    foreach ($iptc as $key => $val) {
      if (isset($iptc_match[$key])) {
Replace with:
Code: [Select]
    foreach ($iptc_match as $key => $val) {
      if (isset($iptc[$key])) {
        $val = $iptc[$key];

Then a few lines above you'll find a list with predefined fields. Sort them in order you want them to be showed.
Title: Re: IPTC order
Post by: edwin on January 03, 2006, 02:07:04 PM
Thank you Veno, as always, a great help