Author Topic: Headline  (Read 3197 times)

0 Members and 1 Guest are viewing this topic.

Offline kujayhawk

  • Newbie
  • *
  • Posts: 17
    • View Profile
Headline
« on: September 23, 2007, 08:36:39 PM »
Anyone know how you can make the headline meta info from IPTC as the image name when you do check new images?

I tried messing around in the checkimages.php file and had no luck. This has to be an easy fix, so if you know please post on here.

Thank you.


Version 1.7.4

Offline kujayhawk

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Headline
« Reply #1 on: September 23, 2007, 08:47:18 PM »
Anyone know how you can make the headline meta info from IPTC as the image name when you do check new images?

I tried messing around in the checkimages.php file and had no luck. This has to be an easy fix, so if you know please post on here.

Thank you.


Version 1.7.4

Here is the code for that as well. I found it in the checkimages.php file on line 1073. I just need it to automatically pull the IPTC Headline from the meta info.

Code: [Select]
      $title = $lang['field_image_name'].((isset($file_src)) ? get_iptc_insert_link($file_src, "object_name", "image_name_".$ii, 0) : "");
      show_input_row($title, "image_name_".$ii, stripslashes($image_name), $textinput_size);

Offline kujayhawk

  • Newbie
  • *
  • Posts: 17
    • View Profile
Re: Headline
« Reply #2 on: September 29, 2007, 06:28:02 PM »
These forums are useless.