]> git.decadent.org.uk Git - memories.git/commitdiff
It's right that we want to expose this stuff to the templates, so this patch should...
authorSimon Cozens <simon@simon-cozens.org>
Tue, 6 Feb 2007 21:56:17 +0000 (21:56 +0000)
committerSimon Cozens <simon@simon-cozens.org>
Tue, 6 Feb 2007 21:56:17 +0000 (21:56 +0000)
git-svn-id: http://svn.simon-cozens.org/memories/trunk@5 041978f6-d955-411f-a9d7-1d8545c9c3c7

Memories/Photo.pm

index a0c3f1bbc1d664a980454538029bcca78116f325..67e9d5ffa59c814090852f9a37965dd3602fd322 100644 (file)
@@ -179,7 +179,7 @@ my %banned_tags = map { $_ => 1 }
 
 sub _exif_info {
     my $exifTool = new Image::ExifTool;
-    $exifTool->Options(Group0 => ['IPTC', 'EXIF', 'MakerNotes', 'Composite']);
+    $exifTool->Options(Group0 => ['IPTC', 'EXIF', 'XMP', 'MakerNotes', 'Composite']);
     my $info = $exifTool->ImageInfo(shift->path);
     my $hash = {};
     foreach my $tag ($exifTool->GetFoundTags('Group0')) {