Opened 3 years ago
Last modified 3 years ago
#55323 new defect (bug)
When an image is edited the URL of the image is not updated
Reported by: | mitogh | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.9.1 |
Component: | Media | Keywords: | |
Focuses: | ui, administration | Cc: |
Description
When an image is edited from the image editor, after an edit has been applied, the URL of the image is not updated due it always references back to the original image instead of referencing the image to the updated image (when the edit has been applied to all images sizes).
Steps to replicate the problem.
- Upload an image into the media library
- After the image is uploaded into the media library click on Edit image
- Apply an edit to the image, either rotate, flip or crop,
- Make sure that the option is applied to all images sizes.
- Click on Save
- Observe how the URL of the image (see attached image), by clicking on Copy URL to the clipboard
- Open the copied URL into a new tab the copied URL still references to the original image, and not the edited image instead.
Attachments (1)
Change History (3)
#2
@
3 years ago
Should the URL show the edited image url, or should the header for the field be updated to indicate it is the "original" image (if that is what it is)? So instead of "File URL" maybe "Original file URL"?
The URL should use the rotated version as the URL as when you reload the page after the edit has been completed the URL now uses the rotated version.
Same for the File URL when the page is refreshed the File URL now references the rotated version, so in this case both fields should be updated to reflect the new values for:
- File URL
- Filename
- File size
- Dimensions
From my perspective, the expected result is the same as if you refresh the page and new values are populated in the areas described above.
Should the URL show the edited image url, or should the header for the field be updated to indicate it is the "original" image (if that is what it is)? So instead of "File URL" maybe "Original file URL"?