+ 1

What can I do if img is failing to load in HTML

Plz tell what can I do https://code.sololearn.com/Wc1NBQ6S5Tas/?ref=app

1st Jan 2023, 3:46 AM
Khushal Pal
9 odpowiedzi
+ 3
You cannot access your local device path on the internet. Upload images on DropBox and after getting link use in code. https://code.sololearn.com/WW6t4B73kJVz/?ref=app
1st Jan 2023, 6:12 AM
A͢J
A͢J - avatar
+ 2
Follow the process of shared code https://code.sololearn.com/WT3661NHpV3B/?ref=app
1st Jan 2023, 8:57 AM
A͢J
A͢J - avatar
+ 1
You can upload your image to a free image sharing website like "imgur" and then right click on the image and copy the image address. Paste the copied link in src.
1st Jan 2023, 11:00 AM
Carbon
Carbon - avatar
+ 1
You're using the wrong link. You must copy the image address (https://i.imgur.com/DR6Vv0F.jpeg). Right click on the image and click on copy image address.
2nd Jan 2023, 6:16 AM
Carbon
Carbon - avatar
+ 1
Google Photos is a good choice for uploading images, and, accessing them, based on User Rights, though a https secure 🔐 channel...
2nd Jan 2023, 12:34 PM
Sanjay Kamath
Sanjay Kamath - avatar
0
It is not working I had tried
1st Jan 2023, 8:48 AM
Khushal Pal
0
It is not working I had tried both Dropbox and imgur
2nd Jan 2023, 4:02 AM
Khushal Pal
0
https://www.dropbox.com/s/to8lx2wjwz1oe3j/Captura%20de%20pantalla%20%28422%29.png?raw=1 Use this link in your HTML code on sololearn. The code you have used is not valof on sololearn. If you have problem to add image on your local device then first, make a file and put the html, css, js, image, logo etc in same file. Use VS code. Whenever you need to add image then just called img tag and start writing in src ="./" and the VS code will suggest you your device images of the same file.
3rd Jan 2023, 1:26 AM
Asif Talukder
Asif Talukder - avatar
0
Thanks for helping me. Now, I am able to upload img on html ☺️☺️
3rd Jan 2023, 4:59 AM
Khushal Pal