summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
authorKate Arzamastseva <pshns@ukr.net>2011-06-23 13:13:34 +0300
committerKate Arzamastseva <pshns@ukr.net>2011-06-23 13:13:34 +0300
commit532850ed047e0f35268eb1a5d4cf85c80f228dc5 (patch)
tree3f152d4a46e87e8a1eacbe58273a3da7d509a2fc /conf
parentcf83278667fc82135e294c35d334a62318a1e39d (diff)
downloadrpg-532850ed047e0f35268eb1a5d4cf85c80f228dc5.tar.gz
rpg-532850ed047e0f35268eb1a5d4cf85c80f228dc5.tar.bz2
media getting metadata fix
Diffstat (limited to 'conf')
-rw-r--r--conf/mediameta.php22
1 files changed, 22 insertions, 0 deletions
diff --git a/conf/mediameta.php b/conf/mediameta.php
index ba7117643..8ad148aec 100644
--- a/conf/mediameta.php
+++ b/conf/mediameta.php
@@ -55,3 +55,25 @@ $fields = array(
array('Exif.Category')),
);
+
+/**
+ * This configures which meta data will be shown in details view
+ * of the media manager. Each field of the array is an array with the
+ * following contents:
+ * fieldname - Where data will be saved (EXIF or IPTC fields)
+ * label - key to lookup in the $lang var, if not found printed as is
+ * fieldtype - 'text' or 'date'
+ */
+$tags = array(
+ array('simple.title','img_title','text'),
+ array('Date.EarliestTime','img_date','date'),
+ array('File.Name','img_fname','text'),
+ array(array('Iptc.Byline','Exif.TIFFArtist','Exif.Artist','Iptc.Credit'),'img_artist','text'),
+ array(array('Iptc.CopyrightNotice','Exif.TIFFCopyright','Exif.Copyright'),'img_copyr','text'),
+ array('File.Format','img_format','text'),
+ array('File.NiceSize','img_fsize','text'),
+ array('File.Width','img_width','text'),
+ array('File.Height','img_height','text'),
+ array('Simple.Camera','img_camera','text'),
+ array(array('IPTC.Keywords','IPTC.Category','xmp.dc:subject'),'img_keywords','text')
+);