1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

jpeg images does not appearing

Discussion in 'HTML & Website Design' started by ztamim456, Mar 6, 2013.

  1. #1
    hello, i am facing a problem. recently i create a template for practice. Then i host it by filezilla in free hosting site named 00webhost. After that all things are appeared but jpeg images does not appeared on the page. but the images displayed in browser in localhost. link is demos1(.)comxa(.)com. plz help me how can i solve my my problem ?
    SEMrush
     
    ztamim456, Mar 6, 2013 IP
    SEMrush
  2. themes4all

    themes4all Well-Known Member

    Messages:
    662
    Likes Received:
    47
    Best Answers:
    6
    Trophy Points:
    100
    #2
    please can you past the link or the code of your website page !?
     
    themes4all, Mar 6, 2013 IP
  3. HolyRoller

    HolyRoller Well-Known Member

    Messages:
    552
    Likes Received:
    27
    Best Answers:
    1
    Trophy Points:
    150
    #3
    I can't see the site, gets an error and just displays the hosting companies sites.
     
    HolyRoller, Mar 6, 2013 IP
  4. karthimx

    karthimx Prominent Member

    Messages:
    4,957
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #4
    How can we see if the files is in localhost ?

    past the code here to check what mistake you have made.
     
    karthimx, Mar 6, 2013 IP
  5. Dark Arts

    Dark Arts Greenhorn

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #5
    Most likely is has to do with the URL of your HTML IMG tags.

    For example:
    <img src="http://localhost/img01.jpg">
    HTML:
    --will not work if you move a file with this coding over to another Web Server.

    Or:

    <img src="/images/img01.jpg">
    HTML:
    --will only work if you have an images folder in your root level of your domain and will not work if you put your site into a subdirectory.

    Usually how you would want your HTML coding is like this:

    <img src="images/img01.jpg">
    HTML:
    --without putting in http or a forward slash it will try checking for the image from the folder it's currently viewing the page from. This method is preferred.
     
    Dark Arts, Mar 6, 2013 IP
  6. karthimx

    karthimx Prominent Member

    Messages:
    4,957
    Likes Received:
    127
    Best Answers:
    2
    Trophy Points:
    340
    #6
    There are lot depends on the where your html file is located also where the image file located.
     
    karthimx, Mar 7, 2013 IP
  7. Rukbat

    Rukbat Well-Known Member

    Messages:
    2,908
    Likes Received:
    37
    Best Answers:
    51
    Trophy Points:
    125
    #7
    Did you upload the jpg files to the web host? Did you put them into exactly the same directory structure that they were in on localhost? (If the answer to either question is "no", that's the problem.)
     
    Rukbat, Mar 8, 2013 IP
  8. creativewebmaster

    creativewebmaster Active Member

    Messages:
    654
    Likes Received:
    7
    Best Answers:
    4
    Trophy Points:
    78
    #8
    an you please show me that page?
     
    creativewebmaster, Mar 8, 2013 IP
  9. jamjar919

    jamjar919 Well-Known Member

    Messages:
    332
    Likes Received:
    7
    Best Answers:
    5
    Trophy Points:
    180
    #9
    We need the page code to show you where you're going wrong.

    There are two main possibilities here. One is you haven't written the file name or path correctly. For example, "images/pic1.jpg" points to a different picture than "images/pic1.JPG" or "images/pic1.jpeg". The page you are getting is the 000webhost 404 error page - They run advertisements on them in order to make a profit. This leaves us with the other possibility that you haven't uploaded the file to the correct place. Double check that the image resides in the directory, that you have typed the correct filename and file extension, and rectify any errors.

    Hope I helped,

    ~Jam
     
    jamjar919, Mar 9, 2013 IP