Skip to content

Image orientation not respected when exporting to PDF #4875

@TylerJMcLean

Description

@TylerJMcLean

Describe the Bug

Similar to #1854 I believe that the orientation data for the image is not being respected when exporting to PDF. Since the fix was applied, my images show up in the correct orientation on Bookstack itself. But when I export, it reverts to the previous behaviour of ignoring the rotation

In bookstack
bookstack_i1

Export to PDF
bookstack_i2

Steps to Reproduce

  1. Create a document with an image in Bookstack
  2. Save the document
  3. Export to PDF
  4. Open PDF

Expected Behaviour

Image should have the same orientation as shown on the site

Screenshots or Additional Context

No response

Browser Details

No response

Exact BookStack Version

v23.12.3

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions