0

Image Not Loading

I added image URL from my desktop , but on the web page the image is not loading , instead there comes the address of it , how to load image ??

2nd Dec 2019, 6:39 AM
MOHAMMED S H
MOHAMMED S H - avatar
12 Answers
+ 6
If your image and HTML file are not in same folder then you have to give full path to image. Is cover.jpg in same folder?
2nd Dec 2019, 7:23 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 5
Could you please show us your attempt?
2nd Dec 2019, 7:13 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 3
MOHAMMAD HIRANI If both are in different folder, you can simply do like this also. <img src="../image/abc.jpg/> Here some examples are given to include files in html- https://www.javatpoint.com/html-file-path
2nd Dec 2019, 9:13 AM
A͢J
A͢J - avatar
+ 2
<img src="Cover.jpg" Height="150px" Width="150px" Border="1px" alt="C:\Users\lapshop.in\Pictures\2018-12/>
2nd Dec 2019, 7:20 AM
MOHAMMED S H
MOHAMMED S H - avatar
+ 2
You should probably put the code you wrote that you are having trouble understanding in the question for a more effective response with answers that are more likely to relate to the problem.
4th Dec 2019, 12:37 AM
Andrew Johnson
Andrew Johnson - avatar
+ 1
Can you send the code you used to add the image, or type it
2nd Dec 2019, 7:04 AM
Samuel Egbeola
Samuel Egbeola - avatar
+ 1
In alt attribute , i copied & pasted the image address from image properties
2nd Dec 2019, 7:21 AM
MOHAMMED S H
MOHAMMED S H - avatar
+ 1
MOHAMMAD HIRANI the 'alt' attribute is used to display a text in case the image doesn't display. Something like 'image not displayed' should be written there.
2nd Dec 2019, 10:40 AM
Samuel Egbeola
Samuel Egbeola - avatar
+ 1
I had the same issue some time ago All you need to do is upload your image on imgur.com and then copy the image url
3rd Dec 2019, 10:24 PM
Ugwu Chiagozie Stanley
Ugwu Chiagozie Stanley - avatar
0
No , both are in different folders
2nd Dec 2019, 7:33 AM
MOHAMMED S H
MOHAMMED S H - avatar
0
Yeah , done ... Thank you very much brother..I got it
2nd Dec 2019, 7:34 AM
MOHAMMED S H
MOHAMMED S H - avatar
0
I think your image is at different location. Try specifying the full address of image in src and use alt attribute.
3rd Dec 2019, 8:24 AM
Yash Nautiyal