How do i upload an image from my phone in html? | Sololearn: Learn to code for FREE!
0

How do i upload an image from my phone in html?

I tried <img src="path of the image in my phone" width="20px" /> but it doesn't work.

26th Jan 2019, 4:09 AM
Marcos Sánchez
Marcos Sánchez - avatar
8 Answers
+ 2
If you want to upload a photo in sololearn, then you need to first put it on the Internet, and only then specify its address in "src".
26th Jan 2019, 4:31 AM
Solo
Solo - avatar
+ 1
Coud be inside Google Drive?
26th Jan 2019, 4:32 AM
Marcos Sánchez
Marcos Sánchez - avatar
+ 1
Can you post the code?
26th Jan 2019, 4:49 AM
Solo
Solo - avatar
+ 1
https://www.sololearn.com/Discuss/786209/?ref=app
26th Jan 2019, 5:08 AM
Solo
Solo - avatar
0
well yes ☺
26th Jan 2019, 4:45 AM
Solo
Solo - avatar
0
Not working too :(
26th Jan 2019, 4:47 AM
Marcos Sánchez
Marcos Sánchez - avatar
0
If you want to show your photo to Sololearn, then you can use DROPBOX - https://play.google.com/store/apps/details?id=com.dropbox.android. In Dropbox you can upload your picture from Google Drive. When you want to use your image in your code copy the link of your image from Dropbox and copy in your code after that change the WWW in link to DL and now you are good to go. Check this code below https://code.sololearn.com/WHhAmq31LmES/?ref=app
26th Jan 2019, 10:24 AM
Gurpreet Jhamat
Gurpreet Jhamat - avatar