Image Editor
In file-type fields, when the chosen file is an image and this image is already saved, a link to an image editing interface will be displayed.
When accessing this interface, the user can zoom in, rotate, and select a cropping area in the chosen image, generating a new image file with the edits made, which will replace the original image file in the file field.
Upon returning from the image editing interface, if the user has applied the edits, the file field will display a link for the user to discard the file containing the edited image and use another file.
The image editing interface provides the user with the following functionalities:
Fields to fix the dimensions of the selection area for cropping the image. Only integers greater than zero are allowed. |
|
Buttons to apply zoom and rotate the image. |
|
In this mode, clicking with the mouse on an area of the image that is not selected and dragging will move the image. |
|
In this mode, clicking with the mouse on an area of the image that is not selected and dragging will select a new area. |
|
Undoes all changes of zoom, rotation, and movement of the image and creates a new selection area. |