From: Simon Cozens Date: Tue, 6 Feb 2007 21:56:17 +0000 (+0000) Subject: It's right that we want to expose this stuff to the templates, so this patch should... X-Git-Tag: 1.2+svn20070808~63 X-Git-Url: https://git.decadent.org.uk/gitweb/?p=memories.git;a=commitdiff_plain;h=e2c8178a1b49b78aa2a660b3e16d16264dd6ebb6 It's right that we want to expose this stuff to the templates, so this patch should go in, but see note on #1. git-svn-id: http://svn.simon-cozens.org/memories/trunk@5 041978f6-d955-411f-a9d7-1d8545c9c3c7 --- diff --git a/Memories/Photo.pm b/Memories/Photo.pm index a0c3f1b..67e9d5f 100644 --- a/Memories/Photo.pm +++ b/Memories/Photo.pm @@ -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')) {