Text can overlay images on DOMPDF exports #1326

Closed
opened 2026-02-05 00:37:03 +03:00 by OVERLORD · 5 comments
Owner

Originally created by @mmteyrek on GitHub (Aug 30, 2019).

Describe the bug
Export pdf with an image

Steps To Reproduce
write an page with an embded image , export pdf.

Expected behavior
pdf correctly exported

Screenshots
Page
image

pdf

image

Your Configuration (please complete the following information):

  • Exact BookStack Version : BookStack v0.26.4
  • PHP Version: 7.3.5
  • Hosting Method : Apache
Originally created by @mmteyrek on GitHub (Aug 30, 2019). **Describe the bug** Export pdf with an image **Steps To Reproduce** write an page with an embded image , export pdf. **Expected behavior** pdf correctly exported **Screenshots** Page ![image](https://user-images.githubusercontent.com/17122420/63977085-21690c00-cab3-11e9-93a6-47d11deec4e0.png) pdf ![image](https://user-images.githubusercontent.com/17122420/63977113-2fb72800-cab3-11e9-818d-01c061fa17cc.png) **Your Configuration (please complete the following information):** - Exact BookStack Version : BookStack v0.26.4 - PHP Version: 7.3.5 - Hosting Method : Apache
OVERLORD added the 🐛 Bug🏭 Back-End🚚 Export System labels 2026-02-05 00:37:03 +03:00
Author
Owner

@JtheBAB commented on GitHub (Aug 30, 2019):

Hi

Have you tried to switch to this?

https://www.bookstackapp.com/docs/admin/pdf-rendering/

@JtheBAB commented on GitHub (Aug 30, 2019): Hi Have you tried to switch to this? https://www.bookstackapp.com/docs/admin/pdf-rendering/
Author
Owner

@mmteyrek commented on GitHub (Aug 30, 2019):

Hi,
I will use a Shared Hosting, so I don't think I will able to do it.
Anyway thank you for your help.

@mmteyrek commented on GitHub (Aug 30, 2019): Hi, I will use a Shared Hosting, so I don't think I will able to do it. Anyway thank you for your help.
Author
Owner

@ivanivkovic commented on GitHub (Jan 20, 2020):

Had the same issue, can confirm this helped. https://www.bookstackapp.com/docs/admin/pdf-rendering/

Thanks.

@ivanivkovic commented on GitHub (Jan 20, 2020): Had the same issue, can confirm this helped. https://www.bookstackapp.com/docs/admin/pdf-rendering/ Thanks.
Author
Owner

@ES-Six commented on GitHub (Mar 16, 2020):

Thanks,

I confirm this works : https://www.bookstackapp.com/docs/admin/pdf-rendering

If you get fail to convert PDF after setting wkhtmltopdf in .env and installing wkhtmltopdf with apt-get command : you will need a headless version (with patched QT libraries).

I found an easy way to install it on debian so I share here how to do it :

https://stackoverflow.com/a/38336153

@ES-Six commented on GitHub (Mar 16, 2020): Thanks, I confirm this works : https://www.bookstackapp.com/docs/admin/pdf-rendering If you get fail to convert PDF after setting wkhtmltopdf in .env and installing wkhtmltopdf with apt-get command : you will need a headless version (with patched QT libraries). I found an easy way to install it on debian so I share here how to do it : https://stackoverflow.com/a/38336153
Author
Owner

@ssddanbrown commented on GitHub (Jan 30, 2022):

Just come across this while looking through the issue list. Tried testing on my dev instance use a variety of text and image combinations but could not reproduce. Think this may have been addressed in the meantime so will therefore close but feel free to raise again if it can be reproduced following specific steps.

@ssddanbrown commented on GitHub (Jan 30, 2022): Just come across this while looking through the issue list. Tried testing on my dev instance use a variety of text and image combinations but could not reproduce. Think this may have been addressed in the meantime so will therefore close but feel free to raise again if it can be reproduced following specific steps.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#1326