Full path name problems

Discussion in 'General' started by The General, Apr 11, 2007.

  1. The General

    The General New Member

    im having a newbe problem... i think!

    i am trying to pull a picture up on a page using its full pathname from the index.html

    code im using:

    <img src="var/www/web4/web/Emailpic.jpg" etc..etc

    when i do this i get the little box with a red cross in it and the picture place holder

    if i use:

    <img src="Emailpic.jpg" etc..etc

    i can see the picture fine.

    can you tell me if full path names are supported or am i just missing something realy simple!

    Kind Regards

  2. Hawker

    Hawker New Member

    Full path names are only needed when the image resides in a place other than the page it displays on.

    Example: The image is in a directory called "images". The full path name would then be
    img src=<"http://www.sitename.tld/images/imagename.jpg">.

    You should never use the server path names in HTTP pages.
  3. The General

    The General New Member

    Thanks for that, works fine now. Sometimes the simple stuff can really trip us up!

Share This Page