aboutsummaryrefslogtreecommitdiff
path: root/exif.module
diff options
context:
space:
mode:
authorSilvio <s1lv10@uol.com.br>2010-04-26 12:35:47 -0300
committerSilvio <s1lv10@uol.com.br>2010-04-26 12:35:47 -0300
commit4ad6d1ad64e70691e83142ba98b79647d96caba4 (patch)
treea75cf88ce324fdb064141a5852ee62c7f15b7450 /exif.module
parente68a8fa5e39991cdde75d3770a0cd4e0429f3b3d (diff)
downloadexif-4ad6d1ad64e70691e83142ba98b79647d96caba4.tar.gz
exif-4ad6d1ad64e70691e83142ba98b79647d96caba4.tar.bz2
Initial code for XMP data import
Diffstat (limited to 'exif.module')
-rwxr-xr-xexif.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/exif.module b/exif.module
index cdbcd23..324512c 100755
--- a/exif.module
+++ b/exif.module
@@ -108,7 +108,8 @@ function exif_nodeapi(&$node, $op, $teaser = NULL, $page = NULL) {
$data1 = _exif_reformat($exif->readExifTags($file, $ar_exif_fields));
$data2 = $exif->readIPTCTags($file, $ar_exif_fields);
- $data = array_merge($data1, $data2);
+ $data3 = $exif->readXMPTags($file, $ar_exif_fields);
+ $data = array_merge($data1, $data2, $data3);
// Loop through every exif enabled field and set its value to the
// corresponding exif value. If no exif value was found, set the field