Skip to content

EXIF data is ignored when uploading images #1854

Description

@JetUni

Describe the bug
When inserting an image that has EXIF rotation data, the rotation of the image isn't respected in the output.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Upload an image with EXIF rotation data
  2. Insert into the page
  3. See error in preview

Expected behavior
The EXIF rotation data should be considered when uploading the image so that it will display correctly

Screenshots
image

Your Configuration (please complete the following information):

  • Exact BookStack Version (Found in settings): 0.27.4
  • PHP Version: PHP 7.0.33-0ubuntu0.16.04.9
  • Hosting Method (Nginx/Apache/Docker): Nginx

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions