Zammad - Community
Portrait images attached to ticket have incorrect orientation in inline preview
Technical assistance
spats
October 28, 2022, 6:25pm
#1
Infos:
Used Zammad version: 5.2.3-4
Used Zammad installation type: docker-compose
Operating system: Rocky Linux 8.6 (running docker)
Browser + version: Edge 107.0.1418.24
Expected behavior:
Agents use their mobile phone to take photo in portrait mode
The photo is uploaded into a Zammad ticket
When opened in the ticket preview, the image shows up in portrait mode, in the correct orientation
Actual behavior:
Instead, when the photo is viewed in the ticket preview, the image shows up with incorrect orientation
See photos below for an example
Other programs will read the “Orientation” field in EXIF and rotate automatically
Steps to reproduce the behavior:
Take a photo on iPhone in portrait mode
Import the photo to your computer using USB cable
Create a new ticket, and upload the photo as an attachment
Open the newly created ticket and view the photo using the inline preview
Screenshot 2022-10-28 130733
1920Ă—945 104 KB
Screenshot 2022-10-28 130912
1221Ă—1016 146 KB
MrGeneration
December 9, 2022, 1:26pm
#2
For completeness - this is by now a known bug
1 Like