How can I upload pictures in HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

How can I upload pictures in HTML?

15th Nov 2020, 9:21 PM
Hussaini Bashir
Hussaini Bashir - avatar
6 Answers
+ 3
From Web, just copy link address by right clink and use it... For a valid url link of device memory files: First you need to upload image to a cloud site like Dropbox if your image is in your mobile. It won't access local storage.. So upload and then copy that link and paste as src value. It can't directly from your mobile. Link need absolute path. Can't access your local storage. Follow this link to know how upload and import to Program.. Or you can try by a valid link from copying any Web image link. Run this codes and see steps to follow to upload images: https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app https://code.sololearn.com/WW6t4B73kJVz/?ref=app
15th Nov 2020, 9:26 PM
Jayakrishna 🇮🇳
+ 3
https://code.sololearn.com/WT3661NHpV3B/?ref=app
16th Nov 2020, 8:07 AM
Aysha
Aysha - avatar
+ 3
You can use this tag <img class="img-circle" src="https://api.sololearn.com/Uploads/Avatars/12959575.jpg" style='border-radius: 50%;'>
17th Nov 2020, 7:22 PM
HAMYD KHADDA
HAMYD KHADDA - avatar
15th Nov 2020, 9:24 PM
Jayakrishna 🇮🇳
+ 1
Thanks all
27th Nov 2020, 12:09 PM
Hussaini Bashir
Hussaini Bashir - avatar
0
Well you would need that image to be hosted on a live server somewhere
16th Nov 2020, 1:05 AM
Bhavya
Bhavya - avatar