CMS MADE SIMPLE FORGE

Gallery

 

[#7642] Support for IPTC, EXIF and eventually XMP

avatar
Created By: Morten Bjergstrøm (mortenb)
Date Submitted: 2012-02-25 16:05

Assigned To: Jos (josvd)
Resolution: None
State: Open
Summary:
Support for IPTC, EXIF and eventually XMP
Detailed Description:
Support for IPTC and EXIF and eventually XMP would be highly anticipated. The
functionality should be relatively easy to implement using the builtin EXIF and
IPTC reading capabilities of PHP.

Title and taken date should as a minimum be read from IPTC and/or EXIF.

I have tried to implement the title part my self but for some reason it is not
working. I added the following code to "class.Gallery_utils.php"

		$size = getimagesize($filepath . $filename, $info);
		
		if (isset($info["APP13"])) {

			$iptc = iptcparse($info["APP13"]);
			$title = $iptc["2#005"][0];
		}

I guess the path is incorrect and no $size and $info are returned.

History