## Configuration

This screen let the administrator do basic configuration. Indeed, this screen only shows simple configuration parameters that should be enough for the vast majority of administrators. If you want to see other numerous (and advanced) configuration parameters, read file include/config_default.inc.php.

This screen is divided in several sections, regrouping configuration parameters by theme.

### Main

- Gallery title: used in RSS feed and notifications by email.
- Page banner: displayed on top of each public page.
- Gallery URL: used for the RSS feed.
- Lock gallery: Lock the entire gallery for maintenance. Only administrator users will be able to reach the gallery.
- Rating: Photo rating feature is enabled.
- Rating by guests: Even unregistered users can rate images.
- Allow user registration: Anybody can register.
- Mail address is mandatory for all users: mail address will be checked on registration or profile update, except if the action is done by an administrator.
- Email admins when a new user registers: administrators will be notified by mail for each registration.

### History

Visits on pages category.php and picture.php will be saved in the `history` table.

Visits will be shown in Administration » Tools » History.

- Save page visits by guests: page visits by guests will be recorded.
- Save page visits by users: visits by registrered users will be recorded.
- Save page visits by administrators: page visits by administrators will be recorded.

### Comments

- Comments for all: Even unregistered guest can post comments.
- Number of comments per page.
- Validation: an administrator must validate users comments before they become visible on the site. User comments validation takes place in screen Administration » Tools » Pending Comments.
- Email admins when a valid comment is entered: Sends an email to the administrators when a user enters a comment and this comment is validated.
- Email admins when a comment requires validation: Sends an email to the administrators when a user enters a comment that requires validation by the admin. User comments validation takes place in the screen Administration, Photos, Comments.

### Upload

- Show upload link every time: If uploadable albums exist, an upload link will be shown for each album.
- User access level for uploading: Restricts upload to some albums of users
- Email admins when a photo is uploaded: Administrators will be notified by mail each time a photo is uploaded by a user.

### Default display

Here you can change display options used by guest, the default user that is not connected. Once connected, these options are overridden by the user own options (modifiable in profile).

It is possible to change the display options for all existing users, on the Administration » Users » Manage screen, where you can select a list of users.

- Language: apply to Piwigo labels only. Album names, photo names and all descriptions fields are not localized.
- Number of photos per row
- Number of rows per page
- Interface theme
- Recent period: By days. Period during which a photo is shown as new. Must be greater than 1 day.
- Expand all albums: Expand all albums by default in the menu Warning: this option is resources consuming and may generate a huge menu if your album tree contains many albums.
- Show number of comments: show the number of comments for each photo on the thumbnails page. Resources consuming.
- Show hits count: display hits observed on photo just under its thumbnail on the thumbnails page. Only when advanced configuration parameter is:
  $conf['show_nb_hits'] = true;
  Notice: false by default.
- Maximum width of the photos: maximum displayed width. photos larger than this setting will be resized on display. Rather than choosing this option, you might consider modifying the width of your photos; that would be a better practice.
- Maximum height of the photos: same remarks as for the maximum width setting.