diff options
-rw-r--r-- | exif.class.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/exif.class.php b/exif.class.php index 9ab080f..267a42a 100644 --- a/exif.class.php +++ b/exif.class.php @@ -133,8 +133,9 @@ Class Exif { */ public function readXMPTags($file, $arTagNames=array()) { // Get a CCK-XMP mapping. - $map = $this->getXMPFields(); - $xmp = $this->openXMP($file); + $map = $this->getXMPFields(); + $xmp = $this->openXMP($file); + $info = array(); // Iterate over XMP fields defined by CCK. foreach ($arTagNames as $tagName) { @@ -358,7 +359,7 @@ Class Exif { ), 'hierarchicalsubject' => array( 'name' => 'hierarchicalSubject', - 'ns' => 'lr', + 'ns' => 'http://ns.adobe.com/lightroom/1.0/', 'type' => 'array', ), 'location' => array( |