+ 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
9 ответов
+ 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
+ 2
Follow the process of shared code
https://code.sololearn.com/WT3661NHpV3B/?ref=app
+ 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.
+ 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.
+ 1
Google Photos is a good choice for uploading images, and, accessing them, based on User Rights, though a https secure 🔐 channel...
0
It is not working I had tried
0
It is not working I had tried both Dropbox and imgur
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.
0
Thanks for helping me. Now, I am able to upload img on html ☺️☺️