diff options
author | hakan.sandell <hakan.sandell@mydata.se> | 2008-05-18 17:29:28 +0200 |
---|---|---|
committer | hakan.sandell <hakan.sandell@mydata.se> | 2008-05-18 17:29:28 +0200 |
commit | 49ac3837eb784dcadaadeae1fdce0820974b0f12 (patch) | |
tree | 1bebbcc5e066b975a7b14a91d0b0d3ef728a9923 /inc | |
parent | 431c7fc8f28b67627da6367eb8c1e532b596d69a (diff) | |
download | rpg-49ac3837eb784dcadaadeae1fdce0820974b0f12.tar.gz rpg-49ac3837eb784dcadaadeae1fdce0820974b0f12.tar.bz2 |
show xmp metadata in default template
darcs-hash:20080518152928-9a5f4-a1594ec08a2006ee2b94f68e766abbf6ad32701c.gz
Diffstat (limited to 'inc')
-rw-r--r-- | inc/media.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/media.php b/inc/media.php index a65b94e26..aa29c0d7d 100644 --- a/inc/media.php +++ b/inc/media.php @@ -540,12 +540,12 @@ function media_printimgdetail($item){ echo '</div>'; // read EXIF/IPTC data - $t = $item['meta']->getField('IPTC.Headline'); + $t = $item['meta']->getField(array('IPTC.Headline','xmp.dc:title')); $d = $item['meta']->getField(array('IPTC.Caption','EXIF.UserComment', 'EXIF.TIFFImageDescription', 'EXIF.TIFFUserComment')); if(utf8_strlen($d) > 250) $d = utf8_substr($d,0,250).'...'; - $k = $item['meta']->getField(array('IPTC.Keywords','IPTC.Category')); + $k = $item['meta']->getField(array('IPTC.Keywords','IPTC.Category','xmp.dc:subject')); // print EXIF/IPTC data if($t || $d || $k ){ |