'2#025', 'iptc_caption_writer' => '2#122', 'iptc_byline_title' => '2#085', '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'] // // The key displayed in picture.php will be $lang['exif_field_Make'] for // example and if it exists. For compound fields, only take into account the // last part : for key 'COMPUTED;ApertureFNumber', you need // $lang['exif_field_ApertureFNumber'] // // for PHP version newer than 4.1.2 : // $conf['show_exif_fields'] = array('CameraMake','CameraModel','DateTime'); // $conf['show_exif_fields'] = array('Make', 'Model', 'DateTime', 'COMPUTED;ApertureFNumber'); // calendar_datefield : date field of table "images" used for calendar // catgory $conf['calendar_datefield'] = 'date_creation'; // rate : enable feature for rating elements $conf['rate'] = true; // remember_me_length : time of validity for "remember me" cookies, in // seconds. $conf['remember_me_length'] = 31536000; // session_length : time of validity for normal session, in seconds. $conf['session_length'] = 3600; // session_id_size : a session identifier is compound of alphanumeric // characters and is case sensitive. Each character is among 62 // possibilities. The number of possible sessions is // 62^$conf['session_id_size']. // // 62^5 = 916,132,832 // 62^10 = 839,299,365,868,340,224 // $conf['session_id_size'] = 10; // info_nb_elements_page : number of elements to display per page on // admin/infos_images $conf['info_nb_elements_page'] = 5; // show_queries : for debug purpose, show queries and execution times $conf['show_queries'] = false; // show_gt : display generation time at the bottom of each page $conf['show_gt'] = true; // newcat_default_commentable : at creation, must a category be commentable // or not ? $conf['newcat_default_commentable'] = 'true'; // newcat_default_uploadable : at creation, must a category be uploadable or // not ? $conf['newcat_default_uploadable'] = 'false'; // newcat_default_visible : at creation, must a category be visible or not ? // Warning : if the parent category is invisible, the category is // automatically create invisible. (invisible = locked) $conf['newcat_default_visible'] = 'true'; // newcat_default_status : at creation, must a category be public or private // ? Warning : if the parent category is private, the category is // automatically create private. $conf['newcat_default_status'] = 'public'; // level_separator : character string used for separating a category level // to the sub level. Suggestions : ' / ', ' » ', ' → ', ' - ', // ' >' $conf['level_separator'] = ' / '; // paginate_pages_around : on paginate navigation bar, how many pages // display before and after the current page ? $conf['paginate_pages_around'] = 2; // tn_width : default width for thumbnails creation $conf['tn_width'] = 128; // tn_height : default height for thumbnails creation $conf['tn_height'] = 96; // show_version : shall the version of PhpWebGallery be displayed at the // bottom of each page ? $conf['show_version'] = true; // links : list of external links to add in the menu. An example is the best // than a long explanation : // // $conf['links'] = array( // 'http://phpwebgallery.net' => 'PWG website', // 'http://forum.phpwebgallery.net' => 'PWG forum', // 'http://phpwebgallery.net/doc' => 'PWG wiki' // ); // // If the array is empty, the "Links" box won't be displayed on the main // page. $conf['links'] = array(); // feed_period : how long between two feed refresh ? Possible values are // "hour", "half day", "day", "week", "month". $conf['feed_period'] = 'week'; // show_thumbnail_caption : on thumbnails page, show thumbnail captions ? $conf['show_thumbnail_caption'] = true; // show_picture_name_on_title : on picture presentation page, show picture // name ? $conf['show_picture_name_on_title'] = true; // apache_authentication : use Apache authentication as reference instead of // users table ? $conf['apache_authentication'] = false; // debug_l10n : display a warning message each time an unset language key is // accessed $conf['debug_l10n'] = false; // users_table : which table is the reference for users ? Can be a different // table than PhpWebGallery table $conf['users_table'] = $prefixeTable.'users'; // user_fields : mapping between generic field names and table specific // field names. For example, in PWG, the mail address is names // "mail_address" and in punbb, it's called "email". $conf['user_fields'] = array( 'id' => 'id', 'username' => 'username', 'password' => 'password', 'email' => 'mail_address' ); // pass_convert : function to crypt or hash the clear user password to store // it in the database $conf['pass_convert'] = create_function('$s', 'return md5($s);'); // guest_id : id of the anonymous user $conf['guest_id'] = 2; // allow_random_representative : do you wish PhpWebGallery to search among // categories elements a new representative at each reload ? // // If false, an element is randomly or manually chosen to represent its // category and remains the representative as long as an admin does not // change it. // // Warning : setting this parameter to true is CPU consuming. Each time you // change the value of this parameter from false to true, an administrator // must update categories informations in screen [Admin > General > // Maintenance]. $conf['allow_random_representative'] = false; // allow_html_descriptions : authorize administrators to use HTML in // category and element description. $conf['allow_html_descriptions'] = true; // gallery_title : Title for RSS feed $conf['gallery_title'] = 'PhpWebGallery demo'; // galery_url : URL given in RSS feed $conf['gallery_url'] = 'http://demo.phpwebgallery.net'; ?>