4images Forum & Community

4images Modifications / Modifikationen => Mods & Plugins (Requests & Discussions) => Topic started by: kujayhawk on September 23, 2007, 08:36:39 PM

Title: Headline
Post by: kujayhawk 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
Title: Re: Headline
Post by: kujayhawk 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);
Title: Re: Headline
Post by: kujayhawk on September 29, 2007, 06:28:02 PM
These forums are useless.