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?

https://prismic-io.s3.amazonaws.com/oneshoe-web/063a6a47-7f5f-4b94-a837-0306e411d0ee_Whitepaper+-+Een+Patië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.