I recently made a website in my laptop . I insert many photos in this website bt it not shows why ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I recently made a website in my laptop . I insert many photos in this website bt it not shows why ?

All tag and all image in .jpg format i also try every effort bt it not shows.

26th Jul 2020, 6:43 AM
Dharmendra Kumar
Dharmendra Kumar - avatar
11 Answers
26th Jul 2020, 7:04 AM
Abhishek Kudlur
+ 10
If you wish to run this code on Sololearn, then you need to upload your images to some hosting services like dropbox. https://www.sololearn.com/discuss/1054246/?ref=app And if you are running this code on your laptop on your browser, then try some other images with different formats.
26th Jul 2020, 7:07 AM
Nova
Nova - avatar
+ 5
If the images are stored/downloaded on your laptop, add the absolute path in your source path in <img src="........." /> OR Add those images in the folder where your main html file exists.
26th Jul 2020, 6:47 AM
Nova
Nova - avatar
+ 5
Are your images in the same folder where the html file you are running exists?
26th Jul 2020, 6:51 AM
Nova
Nova - avatar
+ 5
And what path value you are using in src ?
26th Jul 2020, 6:53 AM
Nova
Nova - avatar
+ 1
I have to put all the images in same folder and then write the path of that file in src
26th Jul 2020, 8:02 AM
gitbanaei
gitbanaei - avatar
+ 1
You are to check carefully both the file name and the file extension, so also its recommended to use latest vers of browsers.
27th Jul 2020, 9:25 PM
Sulaiman Abubakar Dankani
Sulaiman Abubakar Dankani - avatar
0
I do this bt its does not work
26th Jul 2020, 6:48 AM
Dharmendra Kumar
Dharmendra Kumar - avatar
0
Yess
26th Jul 2020, 6:51 AM
Dharmendra Kumar
Dharmendra Kumar - avatar
0
<img src="example.jpg"/>
26th Jul 2020, 6:54 AM
Dharmendra Kumar
Dharmendra Kumar - avatar
26th Jul 2020, 6:55 AM
Dharmendra Kumar
Dharmendra Kumar - avatar