Developer forum

Forum » Templates » PDF to webp
Alex Guo
Reply

Hi,

We used to render PDF thumbnails with this URL:

/Admin/Public/GetImage.ashx?image=/Files/Files/product_files/safety_data_sheet/myfile.pdf&width=60&format=webp

This works perfectly in Dynamicweb 9, generating a WebP thumbnail preview.
This is how it looked like:

But in Dynamicweb 10, this no longer works.

What’s the DW10-equivalent way to:

  • Generate a small thumbnail preview from a PDF (first page)?

  • Output it in WebP or JPEG for frontend display?

Any ideas or best practices for DW10?


Replies

 

You must be logged in to post in the forum