auto-tagging from.
Still need to implement a mapping preference for things like
automatically filling in image title, watermarking (from Artist or
Usage fields) etc...
);
$_prefs['exif_tags'] = array(
- 'value' => 'a:0{}',
+ 'value' => 'a:0:{}',
'locked' => false,
'shared' => false,
'type' => 'multienum',
- 'desc' => _("Which EXIF fields should we automatically add as photo tags during upload?"),
- 'enum' => array('DateTimeOriginal' => _("Date Photo Taken"),
- 'ExposureTime' => _("Exposure Time"))
+ 'desc' => _("Which EXIF fields should we automatically add as image tags during upload?"),
+ 'enum' => Horde_Image_Exif::getFields(array($GLOBALS['conf']['exif']['driver'],
+ !empty($GLOBALS['conf']['exif']['params']) ? $GLOBALS['conf']['exif']['params'] : array()),
+ true)
);