Skip to main content


This topic contains 2 replies, has 2 voices, and was last updated by  bearhead 4 years, 1 month ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #200525


    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?


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

icon-link icon-logo-star icon-search icon-star