Merge pull request #4188 from dokuwiki/tablefix
[dokuwiki.git] / conf / mediameta.php
blobb998de3f7b88fb27c741480fb2cde193f247f213
1 <?php
2 /**
3 * This configures which metadata will be editable through
4 * the media manager. Each field of the array is an array with the
5 * following contents:
6 * fieldname - Where data will be saved (EXIF or IPTC field)
7 * label - key to lookup in the $lang var, if not found printed as is
8 * htmltype - 'text', 'textarea' or 'date'
9 * lookups - array additional fields to look up the data (EXIF or IPTC fields)
11 * The fields are not ordered continuously to make inserting additional items
12 * in between simpler.
14 * This is a PHP snippet, so PHP syntax applies.
16 * Note: $fields is not a global variable and will not be available to any
17 * other functions or templates later
19 * You may extend or overwrite this variable in an optional
20 * conf/mediameta.local.php file
22 * For a list of available EXIF/IPTC fields refer to
23 * http://www.dokuwiki.org/devel:templates:detail.php
27 $fields = array(
28 10 => array('Iptc.Headline',
29 'img_title',
30 'text'),
32 20 => array('',
33 'img_date',
34 'date',
35 array('Date.EarliestTime')),
37 30 => array('',
38 'img_fname',
39 'text',
40 array('File.Name')),
42 40 => array('Iptc.Caption',
43 'img_caption',
44 'textarea',
45 array('Exif.UserComment',
46 'Exif.TIFFImageDescription',
47 'Exif.TIFFUserComment')),
49 50 => array('Iptc.Byline',
50 'img_artist',
51 'text',
52 array('Exif.TIFFArtist',
53 'Exif.Artist',
54 'Iptc.Credit')),
56 60 => array('Iptc.CopyrightNotice',
57 'img_copyr',
58 'text',
59 array('Exif.TIFFCopyright',
60 'Exif.Copyright')),
62 70 => array('',
63 'img_format',
64 'text',
65 array('File.Format')),
67 80 => array('',
68 'img_fsize',
69 'text',
70 array('File.NiceSize')),
72 90 => array('',
73 'img_width',
74 'text',
75 array('File.Width')),
77 100 => array('',
78 'img_height',
79 'text',
80 array('File.Height')),
82 110 => array('',
83 'img_camera',
84 'text',
85 array('Simple.Camera')),
87 120 => array('Iptc.Keywords',
88 'img_keywords',
89 'text',
90 array('Exif.Category')),