Issue with opening PDF files in the browser instead of downloading

Hi Prismic,

I've uploaded a PDF that I want to publish to the web as media item. But when I try to access the Prismic URL of the file, it immediately downloads the file, while I want it to be opened in the browser. My browser settings are good. Is it possible to change that, to make sure the file will be opened in the browser?ëntgerichte+Ziekenhuiswebsite

Hey @margo.alderliesten welcome to the Prismic community!

You can fix this by adding the pdf extension at the end of the name. And re-upload the file, reference the new URL, and that should work.

Let me know if this works

Yes it works this way, thanks!

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.