revolution icon indicating copy to clipboard operation
revolution copied to clipboard

JPG is rotated back to original

Open MrRoco opened this issue 1 month ago • 0 comments

Bug report

Summary

When a JPG/JPEG had been edited by user and not stored with correct metadata the image is rotated back to before the edit after uploading.

A fix has been done before to apply it to the preview. This fix will make that redundant. https://github.com/modxcms/revolution/pull/15484

Step to reproduce

Rotate and image and save it, upload to website. (Doesn't always apply, depends on the tools used to edit)

Observed behavior

The edited image which was changed from landscape to portrait is landscape again.

Expected behavior

The images keep its edited state.

Environment

All previous Modx versions.

MrRoco avatar Nov 19 '25 14:11 MrRoco