Image is not getting displayed on browser, I cross checked multiple times all seems okay don't know where it went wrong? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Image is not getting displayed on browser, I cross checked multiple times all seems okay don't know where it went wrong?

1st Apr 2017, 5:49 AM
Tandin Wangyel
Tandin Wangyel - avatar
6 Answers
+ 6
Well done! Continue on tryng, it would be nice to find out what was the problem. Html has many limitations, for security issue, and browser have some problem too. I had some similar problems with local stored files, setting up a server on my device solved them. good luck!
4th Apr 2017, 1:57 PM
Emore Anzolin
Emore Anzolin - avatar
+ 4
Do you have the same problem with other images? Is it the first time you try to put an image stored lovaly, on a web page?
3rd Apr 2017, 7:36 PM
Emore Anzolin
Emore Anzolin - avatar
+ 3
is the image file stored localy?
1st Apr 2017, 6:09 AM
Emore Anzolin
Emore Anzolin - avatar
+ 1
Please be more specific, what image are you referring to? If it is on the SoloLearn website, refresh your page. If in your HTML, be sure your code is written correctly, for an image it should look something like this: <a href="http://www.sololearn.com"> (if an image from the internet), or like this: <img src="image.jpg"/> (if from a local folder)
1st Apr 2017, 6:10 AM
Rafay Farrukh
Rafay Farrukh - avatar
0
I created a folder on desktop named "project 2. Inside this folder I have a html document and another folder named " images". So that image which is not getting displayed is this "image" folder. It's in the jpg format.
3rd Apr 2017, 7:12 PM
Tandin Wangyel
Tandin Wangyel - avatar
0
It's working now. I took out that image from the "image folder" and kept with html document. I made changes in notepad. Before it was <img src="location\name.jpg"/> now it's <img src="name.jpg"/>. Seems like problem is with the location
4th Apr 2017, 7:59 AM
Tandin Wangyel
Tandin Wangyel - avatar