Need help: images not showing on my website

Discussion in 'HTML & Website Design' started by rekid, Sep 17, 2009.

  1. #1
    Hi,

    I'm pretty new to html and I've run into a little problem that I'm sure someone knows the answer to.

    I uploaded my html file (for one page of my site) into the public_html section of my hosting account. I also uploaded the image files into that section as well.

    The text for the web page is visible (naturally), but the images don't show.

    What do I need to do to get this right?

    I'd greatly appreciate some direction.

    Thanks

    Tuli
     
    rekid, Sep 17, 2009 IP
  2. vengatowen

    vengatowen Well-Known Member

    Messages:
    568
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    170
    #2
    probably you might have created the html file through some html editor. If you use the insert image option through the editor, the image path will be stored as

    <img src="C:\Documents and Settings\yourPC\Desktop\user\folder\images\image.jpeg">

    which will work locally. If you save it as it is and uploaded in ftp. The img path should be changed as

    <img scr="images/image.jpeg">

    Please check the path of the image and correct.


    if you could post your URL , we may analyze more in detail.
     
    vengatowen, Sep 17, 2009 IP
  3. cnzjgxg

    cnzjgxg Peon

    Messages:
    26
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    image path is very important
     
    cnzjgxg, Sep 17, 2009 IP
  4. rekid

    rekid Greenhorn

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #4
    Ooooh!

    I finally got it right after playing around.

    You're right, I was using NVU and the image location was wrong. I had to change it to my domain and the image name : www.whatever.com/image.jpeg

    Thank you so much Venga!
     
    rekid, Sep 18, 2009 IP
  5. markupdude

    markupdude Peon

    Messages:
    215
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #5
    I can't advocate enough to use a text editor for coding instead of an IDE in the beginning, i personally started with Notepad++ and so far have not felt the need for an IDE.

    That does not mean IDEs are useless, what i mean is i feel HTML/CSS/Javascript and other such scripting coding is better done with simple text editors, for atleast new learners.
     
    markupdude, Sep 18, 2009 IP