Demo PDF export image misaligned #1052

Closed
opened 2026-02-04 23:35:20 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @avafowler on GitHub (Feb 20, 2019).

Describe the bug
Image in exported PDF wrapping text incorrectly.

Steps To Reproduce
Steps to reproduce the behavior:

  1. Go to book demo.
  2. Click on 'Export'.
  3. Select 'PDF File'.
  4. Go to page 6.
  5. Image displays incorrectly behind text.

Expected behavior
Text should be wrapped around image.

Screenshots
Incorrect - Exporting PDF from book:
image
Correct - Exporting PDF from page:
image

Your Configuration (please complete the following information):

  • Using BookStack Demo page.

Additional context
This occurs when exporting a PDF at the book level, not at the page level.

Originally created by @avafowler on GitHub (Feb 20, 2019). **Describe the bug** Image in exported PDF wrapping text incorrectly. **Steps To Reproduce** Steps to reproduce the behavior: 1. Go to [book demo](https://demo.bookstackapp.com/books/dummy-content-book). 2. Click on 'Export'. 3. Select 'PDF File'. 4. Go to page 6. 5. Image displays incorrectly behind text. **Expected behavior** Text should be wrapped around image. **Screenshots** Incorrect - Exporting PDF from book: ![image](https://user-images.githubusercontent.com/46720084/53048559-0dd54c80-3463-11e9-80cb-40b62b6bfe82.png) Correct - Exporting PDF from page: ![image](https://user-images.githubusercontent.com/46720084/53048537-fe560380-3462-11e9-899c-74f27606a1f9.png) **Your Configuration (please complete the following information):** - Using BookStack Demo page. **Additional context** This occurs when exporting a PDF at the book level, not at the page level.
OVERLORD added the 🐛 Bug🔍 Pending Validation🚚 Export System labels 2026-02-04 23:35:20 +03:00
Author
Owner

@ssddanbrown commented on GitHub (Feb 20, 2019):

@avafowler Thanks for reporting. Demo is using the less-accurate, default, DomPDF renderer but It'd still expect the page content to render the same in both export types.

Will look into when I get the chance

@ssddanbrown commented on GitHub (Feb 20, 2019): @avafowler Thanks for reporting. Demo is using the less-accurate, default, DomPDF renderer but It'd still expect the page content to render the same in both export types. Will look into when I get the chance
Author
Owner

@ssddanbrown commented on GitHub (Nov 23, 2021):

Based upon testing via https://demo.bookstackapp.com/books/bookstack-demo-site/page/mixed-content-example-page, I think this may have since been fixed so I'll close this off.

@ssddanbrown commented on GitHub (Nov 23, 2021): Based upon testing via https://demo.bookstackapp.com/books/bookstack-demo-site/page/mixed-content-example-page, I think this may have since been fixed so I'll close this off.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1052