PDF Preview #4826

Closed
opened 2026-02-05 09:18:50 +03:00 by OVERLORD · 4 comments
Owner

Originally created by @247no2 on GitHub (Jun 13, 2024).

Describe the feature you'd like

Hello everyone,

Is it possible to upload a PDF document and display it not only as a URL, but also as a preview so that the content of the PDF is displayed on the page?

Currently I can only display a PDF as a link on the page.

Best regards

Describe the benefits this would bring to existing BookStack users

You can see the content of the PDFs directly on the page instead of downloading all the PDFs, over and over again.

Can the goal of this request already be achieved via other means?

Unfortunately no

Have you searched for an existing open/closed issue?

  • I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

1 to 5 years

Additional context

I am very satisfied with Bookstack

Originally created by @247no2 on GitHub (Jun 13, 2024). ### Describe the feature you'd like Hello everyone, Is it possible to upload a PDF document and display it not only as a URL, but also as a preview so that the content of the PDF is displayed on the page? Currently I can only display a PDF as a link on the page. Best regards ### Describe the benefits this would bring to existing BookStack users You can see the content of the PDFs directly on the page instead of downloading all the PDFs, over and over again. ### Can the goal of this request already be achieved via other means? Unfortunately no ### Have you searched for an existing open/closed issue? - [X] I have searched for existing issues and none cover my fundamental request ### How long have you been using BookStack? 1 to 5 years ### Additional context I am very satisfied with Bookstack
OVERLORD added the 🔨 Feature Request:cat2:🐈 Possible duplicate labels 2026-02-05 09:18:50 +03:00
Author
Owner

@Hallsie commented on GitHub (Jun 17, 2024):

I would like this also. It is not very useful to have the pdf download every time.

@Hallsie commented on GitHub (Jun 17, 2024): I would like this also. It is not very useful to have the pdf download every time.
Author
Owner

@reddexx commented on GitHub (Jun 19, 2024):

https://github.com/BookStackApp/BookStack/issues/3586

@reddexx commented on GitHub (Jun 19, 2024): [https://github.com/BookStackApp/BookStack/issues/3586](url)
Author
Owner

@kilian-goetz commented on GitHub (Jun 19, 2024):

Greetings @247no2,

Have you tried specifying the ALLOWED_IFRAME_SOURCES variable in the .env file and setting the allowed sources from which you want previews? For example, I use this method to preview Google Forms or external PDFs inside my BookStack.

Kind regards, Kilian GOËTZ.

@kilian-goetz commented on GitHub (Jun 19, 2024): Greetings @247no2, Have you tried specifying the ALLOWED_IFRAME_SOURCES variable in the .env file and setting the allowed sources from which you want previews? For example, I use this method to preview Google Forms or external PDFs inside my BookStack. Kind regards, Kilian GOËTZ.
Author
Owner

@ssddanbrown commented on GitHub (Jun 19, 2024):

Thanks for the suggest @247no2, but I'd considered this already covered by existing issues #705 and/or #1270 so I'll therefore close this off.

@ssddanbrown commented on GitHub (Jun 19, 2024): Thanks for the suggest @247no2, but I'd considered this already covered by existing issues #705 and/or #1270 so I'll therefore 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#4826