Apache Web-Serving with Mac OS X: Part 1
Subject:   graphics don't show??
Date:   2002-03-13 20:04:30
From:   morbus
Response to: graphics don't show??

More than likely, your HTML page is using absolute image links as opposed to relative image links, and thus it's getting confused when you browse it over the network/web. Take a look at the "src" of your <img> tags - what are they set for?
Full Threads Newest First

Showing messages 1 through 3 of 3.

  • My actual IMG tag HTML info
    2002-03-17 16:05:24  icerabbit [View]

    The URLs to the files are relative to the index.html file. (not with c:/....).

    Currently there is only one image that shows and that is the apache logo in the folder manual. The others show the IE image missing placeholder/icon when browsing to index.html through the apacheserver.

    Here's a couple lines from my testfile (

    <img border="0" src="icons/i__ico_icerabbit_r.gif" align="left" width="19" height="18">

     <img src="icons/PoweredByMacOSX.gif" alt="" width="160" height="44">

     <img src="apache/apache_pb.gif" alt="" width="259" height="32">

    Would I need to validate the subfolders in some way?


    • Morbus Iff photo My actual IMG tag HTML info
      2002-03-19 14:19:38  Morbus Iff | O'Reilly Author [View]

      If is your server, I don't see either the "PoweredByMacOSX.gif" OR the "i__ico_icarabbit_r.gif" in your icons folder.
      • This too weird! I have 5 different icons in that folder than the ones it lists online!!!
        2002-03-21 17:05:06  icerabbit [View]

        Thanks for visiting that page and helping me out with this.

        On my HDD, in the folder:

        I placed 5 files: 3 i_xxxxxx.gif files and 2 poweredbyxxxxx.gif

        that's all. None of the other icons shown in the online /icons are from me or for that test page. I can't even find these icons shown in that online icons folder on my hard drive! I had hoped that would give me a clue ... but it only confuses me more ... these tiny gifs from 1996 have to come from somewhere!

        So I have finder now searching for files from 02/22/96 (sigh)

        Is there any firsthand location where it would pick this from? I know these gifs are not mine and are not in the apache/webserver area on my hard drive.