Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF Preview #5067

Closed
1 task done
247no2 opened this issue Jun 13, 2024 · 4 comments
Closed
1 task done

PDF Preview #5067

247no2 opened this issue Jun 13, 2024 · 4 comments

Comments

@247no2
Copy link

247no2 commented 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

@Hallsie
Copy link

Hallsie commented Jun 17, 2024

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

@reddexx
Copy link

reddexx commented Jun 19, 2024

@Beladric
Copy link

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.

@ssddanbrown
Copy link
Member

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 up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

5 participants