Display PDF file inline in the browswer

We want to be able to show a PDF file inline in the browser, but using the /-/inline/yes parameter at the end of the CDN url gives me a 400 error with the message:

Mandatory argument “Boolean(value)” not found while parsing “inline”

Is this feature only supported with images? How else can I get this behaviour with PDFs so that the file doesn’t download automatically?

Hi @eluce,

Thanks for reaching out!

You can use the inline operation with PDFs as well. It seems you missed “/” at the end of the URL. Here is an example of aa correct URL


Hope that helps!