Portrait images attached to ticket have incorrect orientation in inline preview


  • 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

For completeness - this is by now a known bug

1 Like

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.