How can i insert image in html tag from phone Gallery ? | Sololearn: Learn to code for FREE!

+1

How can i insert image in html tag from phone Gallery ?

8/17/2022 10:57:27 AM

Kakoli Mondal

7 Answers

New Answer

+5

Kakoli Mondal you can use Dropbox This is used to share for Common Q&A section In this code you will get to know how to upload images to Dropbox as well as connect it to the html code https://code.sololearn.com/WW6t4B73kJVz/?ref=app

+2

You can upload the image to dropbox or Google Drive and link that in your code :)

+2

Images https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML audio: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio video: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/video How To Upload your phone images on SoloLearn using phone https://code.sololearn.com/WT3661NHpV3B/?ref=app Upload content with Dropbox [Tutorial] https://code.sololearn.com/WW6t4B73kJVz/?ref=app How to host/upload an image (IMGBB way) /by Farhanaz/ https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app Upload content with Google drive https://code.sololearn.com/Wa25A17a19a1/?ref=app

+2

The easiest way is by creating a new folder where you will save your HTML and CSS file add your image then using <IMG src="".png alt="">

0

I have already tried all the as you said but still the image is not visible

0

Can you please post your code?

0

So if i upload on google drive then want to insert it to my code, i need to giving permission to public in drive setting to make it available for another. Is this true? I remembered that i can't see my file in drive using my friend's account, due that permission.