IPTC: Headline into Gallery/Summary?

robert070612

Joined: 2003-08-05
Posts: 565
Posted: Sat, 2005-08-27 18:25

Have got myself some confused particularly between G2's version of Summary/Detailed flavours of showing EXIF/IPTC keyword information and G2's own *Summary* flavoured area...;~/ Appreciate some cogent help/clarity!

The IPTC: Headline information is ideal for Gallery's Summary area, much in the same way that the IPTC: Caption information is already optioned to port directly into Gallery's Description area.

I tried some hacking by copying/amending the existing keywords functionality...
[ExifDescriptionOption.inc]

	    if (!empty($exifData[$itemId]['IPTC/Keywords']['value'])) {
		$iptcKeywords = $exifData[$itemId]['IPTC/Keywords']['value'];
		if ($addOption & IPTC_ITEM_KEYWORDS) {
		    $items[$i]->setKeywords($iptcKeywords);
		    $mustSave = true;
		}
	    }

	    if (!empty($exifData[$itemId]['IPTC/Headline']['value'])) {
		$iptcKeywords = $exifData[$itemId]['IPTC/Headline']['value'];
		if ($addOption & IPTC_ITEM_HEADLINE) {
		    $items[$i]->setHeadline($iptcHeadline);
		    $mustSave = true;
		}
	    }

...but I rather think stuff elsewhere needs addressing too;~/

Found further files appertaining to the keywords functionality, however my meagre programming ability soon let me down. This was despite doing what I thought might be necessary in about half a dozen places in a few more files.

Anyone?

best wishes, Robert

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Sat, 2005-08-27 19:53

I too am interested in the handling and management of IPTC and EXIF in general, and where one can place this data onto a page. You trying to extract embedded metadata from images... yes?

 
robert070612

Joined: 2003-08-05
Posts: 565
Posted: Sun, 2005-08-28 01:43

I am interested only in IPTC and the main aspect that has so far eluded me is that of bringing in the succinct IPTC/Headline as a similarly succinct Gallery/Summary for placement under the image thumbnail. My aim is for greater simplicity and not a proliferation of displayed EXIF/IPTC data.

 
drhiii

Joined: 2003-04-27
Posts: 397
Posted: Sun, 2005-08-28 04:26

Yes, this ability to slurp and place IPTC or Dublin Core metadata inside something like G2 is a big thing. I do not have the skills to do this, but sure would like to surface anyone who does. You rneeds, and the larger needs of this metadata, would be a big deal imo.