The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Bad Paths?

Discussion in 'General Discussion' started by wildear, Mar 13, 2004.

  1. wildear

    wildear Member

    Joined:
    Mar 31, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    I'm still not getting any of my jpgs. or gifs. to show up on my website.
    should these files be in a particular folder? I have been keeping all in public_html.
    What is the correct path for these files?
    Lost in cyber space
     
  2. nickn

    nickn Well-Known Member
    PartnerNOC

    Joined:
    Jun 15, 2003
    Messages:
    619
    Likes Received:
    1
    Trophy Points:
    18
    They have to be in public_html, but beyond that just make sure you do the correct path to them in your HTML files, /home/username/public_html/image.jpg
     
  3. wildear

    wildear Member

    Joined:
    Mar 31, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    No graphics

    I'm still no where. Please fee free to look at the page source and tell me what is wrong with the gif code. I give up!

    www.wilde4art.com
     
  4. bookstorm

    bookstorm Registered

    Joined:
    Sep 29, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
    You're calling your images from the server path instead of the URL ie.

    /home/wildear/public_html/1wildart.gif

    Should be just:

    1wildart.gif

    OR

    http://YourDomain.com/1wildart.gif

    You need to use http when calling images or other files NOT the server path.

    http://YourDomain.com = /home/wildbear/public_html

    Trev
     
  5. BrightAdmin

    BrightAdmin Well-Known Member

    Joined:
    Feb 29, 2004
    Messages:
    204
    Likes Received:
    0
    Trophy Points:
    16
    Hi,

    You can place your image files anywhere under root directory. But you have to specify a correct image path in your codings.

    Regards,

    Bright:)
     
  6. wildear

    wildear Member

    Joined:
    Mar 31, 2003
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Thank you, Guess sometimes the obvious is difficult to figure. Thank you for helping me out, graphics are displaying.:)
     
  7. bookstorm

    bookstorm Registered

    Joined:
    Sep 29, 2003
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    United Kingdom
Loading...

Share This Page