Skip to content

Conversation

@MrRoco
Copy link
Contributor

@MrRoco MrRoco commented Nov 19, 2025

What does it do?

Added an Exif check for edited images and if the have been Orientated.
If Orientated, make sure the image is also saved with the correct data.

Why is it needed?

Certain software doesn't save the edit data correctly which will cause rotated imaged to be reverted back after upload.

How to test

Rotate an image, upload it to the site, check if the image is still in correct position.

Related issue(s)/PR(s)

Resolves: #16785 and also resolves #15484

@Mark-H Mark-H changed the title Issue 16785 Fix image rotation on upload Nov 19, 2025
@Mark-H Mark-H added this to the v3.2.0 milestone Nov 19, 2025
@SnowCreative
Copy link
Contributor

Hey, really nice! About once a year I get a client asking me why the photo they just uploaded is rotated on their website.

@smg6511
Copy link
Collaborator

smg6511 commented Nov 20, 2025

@MrRoco - Can you specify at least one software package that does not correctly save the data? That'll help in testing the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

JPG is rotated back to original

4 participants