Images do not display with <img> tag - please help

Discussion in 'HTML & Website Design' started by ketting00, Nov 16, 2009.

  1. #1
    Hi,

    I have created an online store web site, say, http://www.siriwanpillow.com/ and test run it on a server (not yet finished).

    But the picture of goods items I want to display on the category list does not show up.

    I use this tag: <img src="products/item1.jpg" width="349" height="222">.

    The page display fine on my test computer.

    How can I solve the problem?

    Thanks for any help in advance.

    Ket
     
    ketting00, Nov 16, 2009 IP
  2. xhanch

    xhanch Member

    Messages:
    683
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    35
    #2
    Yeah, it's a broken image. Wrong upload for sure.
    The image URL you are trying to use is "http://www.siriwanpillow.com/products/item1.jpg"
    You have to upload "item1.jpg" into products folder and the product's folder must be located in "public_html" if u r using linux server or "wwwroot" if u r using windows server
     
    xhanch, Nov 16, 2009 IP
  3. ketting00

    ketting00 Well-Known Member

    Messages:
    782
    Likes Received:
    28
    Best Answers:
    3
    Trophy Points:
    128
    #3
    Thanks so much xhanch for swift reply.

    I've no idea about the linux or windows servers. I use www.50webs.com as my web hosting.

    Do you mean my index.html file should be located in the "public_html" folder too.

    Thanks again
    Ket
     
    ketting00, Nov 16, 2009 IP
  4. xhanch

    xhanch Member

    Messages:
    683
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    35
    #4
    u'r welcome
    50webs should be linux server.

    here's the tree:

    /public_html/
    /public_html/index.html
    /public_html/products/
    /public_html/products/item1.jpg <= YOUR IMAGE MUST BE HERE
     
    xhanch, Nov 16, 2009 IP
  5. ketting00

    ketting00 Well-Known Member

    Messages:
    782
    Likes Received:
    28
    Best Answers:
    3
    Trophy Points:
    128
    #5
    Hello again and thanks

    The explaination is crystal clear :).

    Ket
     
    ketting00, Nov 16, 2009 IP
  6. ketting00

    ketting00 Well-Known Member

    Messages:
    782
    Likes Received:
    28
    Best Answers:
    3
    Trophy Points:
    128
    #6
    Euh sory,

    I have more questions.

    What about the header images, they display fine???

    Thanks
     
    ketting00, Nov 16, 2009 IP
  7. xhanch

    xhanch Member

    Messages:
    683
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    35
    #7
    Sorry for my late reply...
    Yes, everything seems fine and your website looks so good... :)
    Ups, seems like something wrong with your category selection (the middle one)
     
    xhanch, Nov 18, 2009 IP