If I have an image in my phone's gallery, how can I insert it in a webpage while coding | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

If I have an image in my phone's gallery, how can I insert it in a webpage while coding

How can I create that link of an image I have in my phone's gallery

29th Apr 2020, 2:07 PM
Tumwiine Kevin
Tumwiine Kevin - avatar
5 Antworten
+ 2
1) Go to this site: https://imgbb.com 2) Upload your image 3) Collect the 'direct link' 4) Use it as the value of 'img' tag like so: <img src="link"> And you're done!
29th Apr 2020, 4:54 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
0
Copy the image in the folder I I'll n which your html files are and simply code it just like you are coding in your pc
29th Apr 2020, 2:09 PM
Prabhat Ranjan
Prabhat Ranjan - avatar
0
in sololearn code playground that cannot not work, because the html is stored to sololearn servers ^^ search in the QnA: there's tons of duplicates question about this "problem" (not really one, but kind of limitation) and how to workaround (basically, you need to upload your image somewhere on internet and use the absolute http url of it in your coding ;)
29th Apr 2020, 4:49 PM
visph
visph - avatar
0
You use the code format <img src ="folder name /pics.jpeg or jpg or png">. It depends on the picture format. So let's say the picture you intend on using is in a folder called Google and the name of the picture is ball. jpeg. The code will be <img src ="Google/ball. jpeg>. I hope you understand this
3rd Nov 2020, 3:06 AM
IBE CHIBUIKE DONALD
IBE CHIBUIKE DONALD - avatar
- 1
1) Go to this site: https://imgbb.com 2) Upload your image 3) Collect the 'direct link' 4) Use it as the value of 'img' tag like so: <img src="link">
19th Jul 2020, 10:06 AM
IBE CHIBUIKE DONALD
IBE CHIBUIKE DONALD - avatar