The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other embed pdf as image?

  • This topic is empty.
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)
  • The forum ‘Other’ is closed to new topics and replies.