Applying an effect does not preserve EXIF rotation

Created on 5 June 2023, almost 2 years ago
Updated 25 July 2023, over 1 year ago

Problem/Motivation

If an image is uploaded that has its EXIF orientation attribute set, and then you scale the image or otherwise do something to it that saves a new image, the EXIF attribute is not preserved, so the orientation is wrong afterwards.

In addition, this module doesn't completely work well with EXIF Orientation , which changes the orientation to match the EXIF property, then removes the property. It does that in a file_presave hook. The file will be correct after a crop is applied, but the image preview HTML <img> tag will have the height and width backwards.

Proposed resolution

Copy the source image's EXIF orientation attribute to the derivative images.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

2.0

Component

User interface

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024