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 ?
How can we see if the files is in localhost ? past the code here to check what mistake you have made.
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.
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.)
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