From 234b7463520902a62e0c3e4e35c00a9e27f14278 Mon Sep 17 00:00:00 2001 From: plegall Date: Wed, 10 Nov 2004 22:34:54 +0000 Subject: - IPTC mapping done in include/config.inc.php - file extensions in $conf['file_ext'] are case sensitive (contrary to what was said) - a user (choubs) told me that the correct mapping for image name was 2#005 (OBJECTNAME) and not 2#085 (BYTITLE) git-svn-id: http://piwigo.org/svn/trunk@601 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/config.inc.php | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/config.inc.php b/include/config.inc.php index 4edfc5bf5..c60c46ca5 100644 --- a/include/config.inc.php +++ b/include/config.inc.php @@ -66,7 +66,7 @@ $conf['slideshow_period'] = 4; // last_days : options for X last days to displays for comments $conf['last_days'] = array(1,2,3,10,30,365); -// file_ext : file extensions (case insensitive) authorized +// file_ext : file extensions (case sensitive) authorized $conf['file_ext'] = array('jpg','JPG','png','PNG','gif','GIF','mpg','zip', 'avi','mp3','ogg'); @@ -102,6 +102,17 @@ $conf['show_iptc_mapping'] = array( 'iptc_caption' => '2#120' ); +// use_iptc_mapping : in which IPTC fields will PhpWebGallery find image +// information ? This setting is used during metadata synchronisation. It +// associates a phpwebgallery_images column name to a IPTC key +$conf['use_iptc_mapping'] = array( + 'keywords' => '2#025', + 'date_creation' => '2#055', + 'author' => '2#122', + 'name' => '2#005', + 'comment' => '2#120' + ); + // show_exif_fields : in EXIF fields, you can choose to display fields in // sub-arrays, for example ['COMPUTED']['ApertureFNumber']. for this, add // 'COMPUTED;ApertureFNumber' in $conf['show_exif_fields'] -- cgit v1.2.3