#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Posts
    17
    Rep Power
    0

    CF 6: How to display PDF file in HTML form


    How am i going to display a PDF file into HTML format. Basically, instead of openning a PDF using adobe reader, i want to display it in a web browser. How am I going to do this? Can anyone give me an example?
  2. #2
  3. No Profile Picture
    Moderator

    Join Date
    Jun 2002
    Location
    Raleigh, NC
    Posts
    5,263
    Rep Power
    968
    As far as I know, you can't. When you see a PDF open inside a browser, it's using an embedded PDF plugin to display the PDF (either Reader or a built-in renderer like Chrome has, if I recall). So this is dependent on the user having the correct browser/plugin to display it. Otherwise it will just download the PDF file for the user to open however they want to.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2013
    Posts
    17
    Rep Power
    0
    Originally Posted by kiteless
    As far as I know, you can't. When you see a PDF open inside a browser, it's using an embedded PDF plugin to display the PDF (either Reader or a built-in renderer like Chrome has, if I recall). So this is dependent on the user having the correct browser/plugin to display it. Otherwise it will just download the PDF file for the user to open however they want to.
    I see. Thanks! That really helps.

IMN logo majestic logo threadwatch logo seochat tools logo