As a Piwigo administrator, you may need to modify an image or any other file type at any time.
If you are trying to modify a specific file, the easiest way is through your gallery!
Once you are on your photo's page, click on the pen-shaped button in the tool bar.
The photo editing page will then open, which will allow you to edit its properties.
Preview, download, delete, synchronize the metadata
When you are in administration, on the photo editing page, a thumbnail of your file appears on the left.
Several actions can be performed from this section:
- Display the photo in your gallery: to do this, click on the photo
- Enlarge the photo: to do this, click on the first icon
- Download the photo: to do this, click on the second icon that has an arrow; the original version of the file will be downloaded onto your computer.
- Synchronize the metadata: to do this, click on the third icon, with two arrows; this is only useful if changes have been made in the metadata's configuration. Learn more about metadata
- Delete the photo: to do this, click on the fourth icon depicting a trash can.
The metadata of your file
In the top right corner of the photo editor, some of your file's metadata are displayed, as well as details that can't be edited from this screen (upload date, upload user, number of views...).
?
- the file name
- the file size and weight
- the file format (JPG, PNG…)
Modifying your file’s properties
On the right part of the screen, your file's properties are shown, which you can edit: title, description, author, creation date…
To learn more about your files' properties, their role, understand why and how to edit them, and discover advanced options, read the Managing your files' properties and metadata article.
Changing a photo’s center of interest
A photo's editing page contains a second tab: Center of interest.
This tab allows you to determine the most important part of your photo, which will be showcased when the photo is resized, in square format, for example.
At the top of the page, you can see what your photo looks like once resized in square format, and the original below.
Sometimes, the square format is not suitable because Piwigo automatically crops an important part of your image. In the example below, we don't want the photo to be cropped at the bottom.
To edit the center of interest, on the photo shown below the thumbnail, select the most interesting part of your photo using your mouse, then click on Submit.
The square format is updated according to your changes.
This is especially useful if your gallery displays photo thumbnails in a different format than usual, for example in landscape format when the original photo is in portrait format. For example, this is the case with the Bootstrap Darkroom theme.
Photo Update: replacing a file without modifying its properties
From the photo editing screen, you can re-upload a file to replace the original file, all while maintaining the photo's properties.
To do this, you need to install the Photo Update plugin.
Once the plugin is activated, a new "Update" tab is added to the photo editing screen. This tab allows you to import a new file to replace the existing file.
It can also be used to update the image representing a non-image file (video, audio, document, etc.).
Rotate Image: Rotating an image
From the photo editing screen, you can rotate an image if it's not facing the right way.
To do this, you need to install the Rotate Image plugin.
Once this plugin is activated, a new "Rotate" tab is added to the photo editing screen.