The secret to embedding PDF in HTML, XHTML, ASP, etc. web pages

How to embed PDF in HTML web pages is a question that has been asked a lot over the years at our PDF user community site at Planet PDF. If you search around the old articles and forum discussions you’ll find a bunch of discussion on it and tricks to make it happen. In the past, however, most of them were pretty unstable or unreliable — it was more of a matter of showing how it could be achieved technically rather than implementing confidently on a real live site.

With the new breed of Web 2.0 sites a new way has evolved that is a lot more reliable. Relatively new document sharing sites such as Scribd and Adobe Share (beta) let you upload your PDF files and, once on their site, they provide you with simple code to place in your web page which displays the contents of your PDF files inside a little Flash-based wrapper. From there users can zoom in and out, navigate between pages, and save the file to their local computer. The additional benefit, for some users, is the fact that using these free services reduces bandwidth as (sometimes quite large) PDFs are stored on an external server.

If you look below, you’ll see a screenshot of how it looks. (Unfortunately with our current WordPress configuration we aren’t able to get it to embed here — we’re moving this blog across to the official Nitro PDF site soon and once that occurs we’ll be able to do some more exciting demonstrations here.) In the meantime, just click on the screenshot to visit Scribd for a real live example.

scribd.png

Update: Looks like WordPress now lets you embed Scribd files in your blog. See igeog.

Related posts

  • wordpresssetuptutorial
    I think your view on word press is excellent it not only provide information but also give a chance to explore it. So even a new user can understand it with ease and for this i want to congratulate you.
  • I found out that Adobe Share also embeds on wordpress.com via the Vod:Pod system. This link should bee added to the list in my comment above: https://share.adobe.com/

    Adobe Shares offers no features. You get an unreadable but flip-able miniature embed that when pressed takes you to the Adobe Share homepage. Only then you can read the document.
  • Thank you Richard. A lot. :-D
  • > How do I get multiple images into one and the > same pdf uploaded from my pc? I have them
    > ready in JPEG format but that can be changed
    > of cause.

    Try the free PrimoPDF http://www.primopdf.com software. When you load it up, go into the Options and choose the Append to Existing option. That allows you to combine together each file you convert.

    There's a basic online tool for combining PDF files together. See the PDF Hammer http://www.pdfhammer.com site for more.
  • The sites docstoc and issue also work as embeds in a WordPress.com blog but only if you use Firefox.

    IE won't work. The Wod:Pod button will only take the embed link as a copy/paste but even though it is possible to get a preview of the embed - the "Publish" button stays inactive. But Firefox can publish the embeds for you via VodPod.

    The site pdfmenot works like a charm in IE.

    Links:

    http://pdfmenot.com/
    http://www.docstoc.com/
    http://issuu.com/sections

    The embeds from "issuu" is the winner. They come as flip magazines with a full screen feature. Full screen do not work for Scribd, pdfmenot and docstoc.

    But issuu delivers!
  • Dear Richard

    How do I get multiple images into one and the same pdf uploaded from my pc? I have them ready in JPEG format but that can be changed of cause.

    The new iPaper feature on Scribd allows users to view embedded documents in full screen mode just like an ePaper. I would like to make some photo albums and others things. The online converters I can find only allows you to upload one picture or file per pdf.

    Humble greetings
    /Universalgeni
  • The latest news is that iFrames and iPapers can be embedded and displayed on a WordPress.com blog via Scribd, who got themselves a new system. Terrific news! :lol:
  • FireFox did the trick. Thank you for your kind help. What puzzled me was that scribd turned out to be a homepage. Never heard about before. I thought that scribd was a name that vodpod used. So it is not just any free file host that one can use. Only scribd.
  • You can embed a PDF into a blog on wordpress.com. I've had *some* success (it's a bit flaky) following the instructions at igeog. I couldn't get it to work in IE but had success using Firefox. Try following the instructions on igeog. Good luck!
  • I am sorry Richard but I am stupid. Please, did I understand your post right: no system and no way to embed a pdf on WordPress.com.

    You can place a link in a post to the pdf and that is that. Period.

    There is nothing left of the features from Adobe, Acrobat, pdf etc. but a disappointing link because nothing else is allowed on the blogs?
blog comments powered by Disqus