SitePoint Sponsor

User Tag List

Results 1 to 7 of 7
  1. #1
    SitePoint Evangelist
    Join Date
    Jan 2001
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    displaying pdf files

    Hi,

    Simple question but forgot how:

    How do I display a pdf file in it's normal image state on a web page instead of a text link?

    Thanks
    Herman Drost
    http://www.isitebuild.com
    Affordable Web Site Design
    and Web Site Hosting

  2. #2
    SitePoint Wizard LiquidReflex's Avatar
    Join Date
    Aug 2003
    Location
    Minnesota
    Posts
    1,861
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can display a PDF inside a browser window only if you have a plug-in (like Acrobat Reader) installed on your computer. If there isn't one, it will usually prompt to save it to desktop.
    Kevin Hauge : Modern Leaf Design : Follow Us on Facebook
    Client Axis v.08 - client / project management script

  3. #3
    Non-Member Egor's Avatar
    Join Date
    Jan 2004
    Location
    Melbourne, Australia
    Posts
    7,305
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    If I'm not wrong, mac browsers never display .pdf's in the browser window.

  4. #4
    SitePoint Evangelist
    Join Date
    Jan 2001
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Kevin,

    I have acrobat reader installed and the pdf icon appears in MS word files or on my desktop but not in the web page.

    Why?
    Herman Drost
    http://www.isitebuild.com
    Affordable Web Site Design
    and Web Site Hosting

  5. #5
    SitePoint Wizard LiquidReflex's Avatar
    Join Date
    Aug 2003
    Location
    Minnesota
    Posts
    1,861
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mstwntd
    If I'm not wrong, mac browsers never display .pdf's in the browser window.
    All depends on the settings. I work on a Mac and I can have them display in the browser window (with the help of Acrobat) but the default is to download and open in Preview.

    Quote Originally Posted by vision2000
    I have acrobat reader installed and the pdf icon appears in MS word files or on my desktop but not in the web page.

    Why?
    My guess is that the plug-in isn't configured properly. When you click on a link that is a PDF, what happens? Does it give you a prompt or just start downloading it?

    The easiest way would be to download the latest version of Acrobat Reader and re-install it. Do the Advanced install and be sure the plug-in is being added to the correct browsers (sometimes it will only put it on the "default" one, like Explorer). The harder way would be to go into your browser preferences and look in the "helpers" section (name may vary by browser) and find the ".pdf" handling section. You will then be able to see what it is set at (sounds like "save to desktop"). You can then change it to using a plug-in by selecting that option and finding the Acrobat Reader plug-in.
    Kevin Hauge : Modern Leaf Design : Follow Us on Facebook
    Client Axis v.08 - client / project management script

  6. #6
    SitePoint Evangelist
    Join Date
    Jan 2001
    Posts
    478
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    My guess is that the plug-in isn't configured properly. When you click on a link that is a PDF, what happens? Does it give you a prompt or just start downloading it?
    It downloads pdf files immediately.
    I downloaded version 7.0 and it does the same.

    I wish to show a pdf icon on this page instead of the text link:

    http://www.dobbinscompany.com/services.shtml
    Herman Drost
    http://www.isitebuild.com
    Affordable Web Site Design
    and Web Site Hosting

  7. #7
    SitePoint Wizard LiquidReflex's Avatar
    Join Date
    Aug 2003
    Location
    Minnesota
    Posts
    1,861
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    So you just want to have an icon so the visitor knows that it's a PDF that the link will go to? If that is the case you can get that from Adobe directly.

    Go to this page: http://www.adobe.com/misc/agreement.html

    If you agree with their terms of use then you can follow the links to get the PDF icon to put next to it or a "Get Acrobat Reader" image. Then just put the image that you get next to the link and rename it to something like: "Click here to download the file (PDF)".
    Kevin Hauge : Modern Leaf Design : Follow Us on Facebook
    Client Axis v.08 - client / project management script


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •