mirror of
https://github.com/BookStackApp/BookStack.git
synced 2026-02-05 00:29:48 +03:00
No Branch/Tag Specified
development
l10n_development
further_theme_development
release
llm_only
vectors
v25-11
docker_env
drawio_rendering
user_permissions
ldap_host_failover
svg_image
prosemirror
captcha_example
fix/video-export
v25.12.3
v25.12.2
v25.12.1
v25.12
v25.11.6
v25.11.5
v25.11.4
v24.11.4
v25.11.3
v25.11.2
v25.11.1
v25.11
v25.07.3
v25.07.2
v25.07.1
v25.07
v25.05.2
v25.05.1
v25.05
v25.02.5
v25.02.4
v25.02.3
v25.02.2
v25.02.1
v25.02
v24.12.1
v24.12
v24.10.3
v24.10.2
v24.10.1
v24.10
v24.05.4
v24.05.3
v24.05.2
v24.05.1
v24.05
v24.02.3
v24.02.2
v24.02.1
v24.02
v23.12.3
v23.12.2
v23.12.1
v23.12
v23.10.4
v23.10.3
v23.10.2
v23.10.1
v23.10
v23.08.3
v23.08.2
v23.08.1
v23.08
v23.06.2
v23.06.1
v23.06
v23.05.2
v23.05.1
v23.05
v23.02.3
v23.02.2
v23.02.1
v23.02
v23.01.1
v23.01
v22.11.1
v22.11
v22.10.2
v22.10.1
v22.10
v22.09.1
v22.09
v22.07.3
v22.07.2
v22.07.1
v22.07
v22.06.2
v22.06.1
v22.06
v22.04.2
v22.04.1
v22.04
v22.03.1
v22.03
v22.02.3
v22.02.2
v22.02.1
v22.02
v21.12.5
v21.12.4
v21.12.3
v21.12.2
v21.12.1
v21.12
v21.11.3
v21.11.2
v21.11.1
v21.11
v21.10.3
v21.10.2
v21.10.1
v21.10
v21.08.6
v21.08.5
v21.08.4
v21.08.3
v21.08.2
v21.08.1
v21.08
v21.05.4
v21.05.3
v21.05.2
v21.05.1
v21.05
v21.04.6
v21.04.5
v21.04.4
v21.04.3
v21.04.2
v21.04.1
v21.04
v0.31.8
v0.31.7
v0.31.6
v0.31.5
v0.31.4
v0.31.3
v0.31.2
v0.31.1
v0.31.0
v0.30.7
v0.30.6
v0.30.5
v0.30.4
v0.30.3
v0.30.2
v0.30.1
v0.30.0
v0.29.3
v0.29.2
v0.29.1
v0.29.0
v0.28.3
v0.28.2
v0.28.1
v0.28.0
v0.27.5
v0.27.4
v0.27.3
v0.27.2
v0.27.1
v0.27
v0.26.4
v0.26.3
v0.26.2
v0.26.1
v0.26.0
v0.25.5
v0.25.4
v0.25.3
v0.25.2
v0.25.1
v0.25.0
v0.24.3
v0.24.2
v0.24.1
v0.24.0
v0.23.2
v0.23.1
v0.23.0
v0.22.0
v0.21.0
v0.20.3
v0.20.2
v0.20.1
v0.20.0
v0.19.0
v0.18.5
v0.18.4
v0.18.3
v0.18.2
v0.18.1
v0.18.0
v0.17.4
v0.17.3
v0.17.2
v0.17.1
v0.17.0
v0.16.3
v0.16.2
v0.16.1
v0.16.0
v0.15.3
v0.15.2
v0.15.1
v0.15.0
v0.14.3
v0.14.2
v0.14.1
v0.14.0
v0.13.1
v0.13.0
v0.12.2
v0.12.1
v0.12.0
v0.11.2
v0.11.1
v0.11.0
v0.10.0
v0.9.3
v0.9.2
v0.9.1
v0.9.0
v0.8.2
v0.8.1
v0.8.0
v0.7.6
v0.7.5
v0.7.4
v0.7.3
0.7.2
v.0.7.1
v0.7.0
v0.6.3
v0.6.2
v0.6.1
v0.6.0
v0.5.0
Labels
Clear labels
🎨 Design
📖 Docs Update
🐛 Bug
🐛 Bug
:cat2:🐈 Possible duplicate
💿 Database
☕ Open to discussion
💻 Front-End
🐕 Support
🚪 Authentication
🌍 Translations
🔌 API Task
🏭 Back-End
⛲ Upstream
🔨 Feature Request
🛠️ Enhancement
🛠️ Enhancement
🛠️ Enhancement
❤️ Happy feedback
🔒 Security
🔍 Pending Validation
💆 UX
📝 WYSIWYG Editor
🌔 Out of scope
🔩 API Request
:octocat: Admin/Meta
🖌️ View Customization
❓ Question
🚀 Priority
🛡️ Blocked
🚚 Export System
♿ A11y
🔧 Maintenance
> Markdown Editor
No Label
🐛 Bug
Milestone
No items
No Milestone
Projects
Clear projects
No project
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: starred/BookStack#332
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Dav31 on GitHub (May 11, 2017).
Hi,
Firstly, thank's a lot for this tool.
Secondly, I have an issue with PDF exports.
When I try to export an article as PDF, all images are missing from the file created.
I tried to use WKHTMLTOPDF instead, but without success.
@ssddanbrown commented on GitHub (May 28, 2017):
Hi @Dav31, Sorry for my late reply. Were the images uploaded via BookStack or are the referencing another website? What OS is your BookStack instance running on? How large are the images?
@Dav31 commented on GitHub (May 29, 2017):
Hi Dan,
No problem for the late.
Yes, the images are on the server where Bookstack is hosted.
My instance is running on a CentOS server vith Ngnix webserver installed.
For the images, this is variable as no images are displayed on the PDF export, whatever how large they are.
@the4ndy commented on GitHub (May 31, 2017):
I am also experiencing this issue....i have been since starting using Book Stack almost 1 year ago....i, until recently, thought this was just the natural behavior of the PDF export feature (and was actually coming here to request that feature be added).
I am running the latest version of book stack (just updated today) 0.16.2. I am running it on Ubuntu 16.04 (up to date) with an Nginx webserver
php --version = 7.0.18
mysql --version = 14.14 distrib 5.7.18
@vladime commented on GitHub (Aug 4, 2017):
Same issue here... Running as a docker container.
Ubuntu 16.04
Docker 17.06.0-ce
Nginx
mysql 5.7.12
@Alwaysin commented on GitHub (Aug 4, 2017):
Same here!
Debian 9
PHP 7.0.19-1
10.1.23-MariaDB-9+deb9u1
apache2 2.4.25-3+deb9u2
@pabloalbrecht commented on GitHub (Aug 5, 2017):
Same here... also if you export to HTML
Debian 14, Debian 16
PHP 7 / Nginx
@ssddanbrown commented on GitHub (Aug 6, 2017):
Hi @vladime, Are you using the popular solidnerd/docker-bookstack setup for docker or a different setup? A docker setup with this issue would be ideal for me to try to replicate the issue.
@vladime commented on GitHub (Aug 6, 2017):
Hi Dan, yes, I am using solidnerd docker with BS 0.17.1. One detail which is might be important: I am using Ngnix, so the whole path looks like this domain.com/wiki/restofthebookstackpath/
@julienmmm commented on GitHub (Aug 21, 2017):
Hello,
I am also facing the same issue with the pdf exporter (Install on Fedora 25).
Also note that I have the same issue with the "Web contained file" exporter.
@Dav31 commented on GitHub (Sep 7, 2017):
Hello,
I just updated to 0.17.4 version.
The issue still occurs.
It seems to be directly linked to NGinx.
Regards.
@jacksonp2008 commented on GitHub (Sep 8, 2017):
Yes, must be NGINX related. I see this on behavior on a system that is using NGINX, but it works fine on the latest docker container without NGINX.
@nblenkhorn commented on GitHub (Sep 11, 2017):
I am also seeing this behaviour on Apache. I'm using v0.17.4 as well.
@megamorf commented on GitHub (Sep 12, 2017):
I'm also seeing this issue, running https://github.com/solidnerd/docker-bookstack behind Traefik as SSL terminating reverse proxy.
@ssddanbrown commented on GitHub (Sep 23, 2017):
Hey everyone, Can someone (That has this issue) please confirm if the 'Contained HTML File' export works for them with images?
Need to know if the issue is in the document creation or PDF rendering code...
@julienmmm commented on GitHub (Sep 23, 2017):
Hello,
I am facing the same issue with the self contained html export.
Julien
Le 23 sept. 2017 10:56, "Dan Brown" notifications@github.com a écrit :
@megamorf commented on GitHub (Sep 24, 2017):
Can confirm, images are also missing with the html export.
@Dav31 commented on GitHub (Sep 25, 2017):
Hi Dan,
I can confirm this too.
The HTML export doesn't provide us the images.
David
@ssddanbrown commented on GitHub (Oct 6, 2017):
Hi all, I've just deployed version v0.18.3 to specifically target this issue. I have an idea at what the problem could be but I'm not sure until it's tested by a few different people but hopefully this patch will get things working.
I did test this in a local dev container setup where images did not work before but there may be a different issue at play here.
Please let me know how it goes after updating.
@megamorf commented on GitHub (Oct 7, 2017):
@ssddanbrown Nice, I'm going to test this tomorrow and let you know 👍
@megamorf commented on GitHub (Oct 7, 2017):
@ssddanbrown Getting a
Whoops, looks like something went wrong.error when replacing ExportService.php with your version. The error log only shows a 500 error for theGET /books/playground/page/new-page/export/pdfrequest.I hope some other folks can chime in as the addition of docker with a reverse proxy certainly increases complexity.
@Alwaysin commented on GitHub (Oct 8, 2017):
It works for me, but I think a previous release already fixed it.
@julienmmm commented on GitHub (Oct 9, 2017):
Hello,
After the upgrade to the latest version, all the images in all the documents appear as Broken link images:

But after editing the page and re-uploaded the images, they were correctly displayed and exported in the PDF.
Regarding the upload of images, I've been forced to upload them via the "insert image" button while I was used to do a copy/paste from a screenshot tool before. Now the copy paste does not work and BookStack displays a general error message when trying to upload images this way.

But I suppose it can be the subject of another issue.
@Dav31 commented on GitHub (Oct 13, 2017):
Hi Dan,
I just updated my BookStack installation, and the PDF export runs just fine now.
Thank you very much for your support.
David
@aljawaid commented on GitHub (Nov 26, 2017):
Hello I had the same problem on 0.18.0. I updated to 0.18.5 and the export to pdf now works but as per below:
@aljawaid commented on GitHub (Nov 29, 2017):
Hello,
The only problem now is that the image does not stay (on pdf) in the position it is meant to.
@adrie-tc commented on GitHub (Jan 18, 2018):
I am faced with image issues as well, using the export to PDF function.
It produces results as shown by @julienmmm having broken images.
These are with freshly uloaded images however.
Using docker and a reverse proxy (nginx).
The issue (or rather solution) is still unresolved i take it?
@adrie-tc commented on GitHub (Feb 20, 2018):
FYI, beta release v0.20.0 seems to have fixed it.
Testing a random sample of PDF exports containing media does not show any issues regarding images anymore.
@ssddanbrown commented on GitHub (Mar 5, 2018):
Happy to hear this has been resolved for a good number of instances. Still looks like we're getting bugs though so I'll keep his open for continued discussions.
@adrie-tc commented on GitHub (Mar 6, 2018):
I noticed the images coming from the new draw.io integration do not show up in the pdfs.
Instead they get replaced by a crossed out block image.
Normal view and HTML export are fine ofcourse.
@ghost commented on GitHub (Apr 5, 2018):
Hi, will this work if images are secure, i mean by using the "local_secure_setting"?
@alexmannuk commented on GitHub (Aug 24, 2020):
Appears to be fixed in all recent versions on both Apache and Nginx, no updates to the issue since 2018 so can likely be closed.
@ssddanbrown commented on GitHub (May 4, 2021):
Thanks @alexmannuk.
I'll close this off since the original issue creator expressed that their issue has been since solved.