## Edit a category

### Informations

- name: rename the category (a virtual rename in case of a physical category).
- description: short text giving a general idea of the content, this text will be displayed at the bottom of the thumbnails page.

### Move

If the category is virtual, you can move it. Moving a category means changing its parent category.

### Options

- Access type: Permissions management. If you make a category private, all its child categories becomes private. If you make a category public, all its parent categories becomes public.
- Lock: The category and its sub-categories will be temporary disabled for maintenance.
- Comments: Authorize users to comment elements of this category.
- Authorize upload: Authorize users to upload images files. This option is available for physical (not virtual) categories only .

You can also manage these options on the "Properties" management screen (screens Upload, Comments, Lock, Public/Private, Representative available from Administration, Categories, Properties).

### Sort order

Use the default images sort order.

Indicate whether this sort order will apply to subcategories also.

Select specific sorting criteria to be used with this category.

- Creation date: Picture shooting date
- Post date: Synchronization date
- Average rate (*): Average rate could be changed by the visitor rating
- Most visited (*): The current visit might change the most visited order
- File name: Name given in information field
- Id: Internal Id (recent categories have an higher id than previous ones.

(*)Warning: Be sure to test these sort orders by yourself as they can give unexpected results.

### Representant

The category representative is the thumbnail displayed on the main page (category.php) to represent the category when it contains only sub-categories and no direct element (just as the root category).

There are 4 different ways to set the representative picture of a category :

- Picture page: one of the action buttons let you set the current picture as the representative for the displayed category. This button is available only for administrators.
- Modify informations about a picture in administration. This screen can be reached from picture.php or Batch management in unit mode. See the help of this screen for details.
- Administration, Categories, Properties, Representative. See the help of this screen for details.
- Edit a category (the present screen).

The choice of a representative depends on the `allow_random_representative` configuration parameter (see include/config_default.inc.php).

In default mode (`allow_random_representative` set to false), each category containing at least one element is represented by a fixed element. Once set (at category creation), the representative changes only when an administrator ask for it. If the representative is not appropriate, you can ask to Find a new representant by random.

If the `allow_random_representative` configuration parameter is set to true, a category containing elements may have no fixed representant. Just use Delete representant button.

If the category contains only sub-categories and no element, it can nonetheless be represented by any element thanks to Modify informations about a picture screen. The only option on the current screen is the Delete representant button.

### Link all category elements to a new category

- Virtual category name: Name of the new category to be created, all pictures of the current category will be linked to the new one.
- Parent category: Where the new category will be, leave empty to create it at root.

### Link all category elements to existing categories

- Categories: Choose the destination category.

### Send an information email to group members

- Group: recipients group
- Mail content: Free text to send to them.