I have several pdf documents that can be download from a website I am working on. I wanted the links to those downloads to include an image of the first page of the pdf. Is there any way to embed the pdf so that it displays like a static image? I could of course manually create the images, but I’m looking for something more automated.
I have tried using an object and iframe, but I can’t scale the content to fit the dimensions of the object/iframe. Additionally it weirdly seems like Overflow:hidden and scrolling:no are ignored when the data/src is a pdf. I’d post a pen, but it looks like codepen can’t render pdfs in an object or iframe?