How to code for image in html for photo stored in mobile. I tried getting fail again and again. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

How to code for image in html for photo stored in mobile. I tried getting fail again and again.

Its easy to code in pc but same code for mobile is not working.

13th Dec 2019, 12:25 PM
Rajprakash Vishwakarma
Rajprakash Vishwakarma - avatar
6 Answers
+ 16
METHOD 1: DROPBOX Application --> First Download Dropbox from Playstore. DownloadLink: https://play.google.com/store/apps/details?id=com.dropbox.android --> Upload image that you want to add in HTML on Sololearn. --> Get link of image from Dropbox that you want to add in HTML on Sololearn. NOTE: there is "dl=0" at the last of link Replace it with "raw=1" . METHOD 2: imgur.com Website --> First Create your Account. --> Upload image that you want to add in HTML on Sololearn. --> Get link of image that you want to add in HTML on Sololearn.
13th Dec 2019, 12:36 PM
ROHIT KANOJIYA
ROHIT KANOJIYA - avatar
+ 6
Are you using web service or what? You can Send encoded value of image and in server side after decoding store image in folder.
13th Dec 2019, 12:28 PM
A͢J
A͢J - avatar
+ 4
Raj Vishwakarma Are you asking to display image or you want to store image? If you want to display image here on Sololearn then follow as ROHIT KANOJIYA said.
13th Dec 2019, 12:58 PM
A͢J
A͢J - avatar
+ 3
I am using web
13th Dec 2019, 12:28 PM
Rajprakash Vishwakarma
Rajprakash Vishwakarma - avatar
+ 3
Thanks guys for support.
13th Dec 2019, 12:40 PM
Rajprakash Vishwakarma
Rajprakash Vishwakarma - avatar
+ 1
"I tried getting fail again and again." Maybe its not working because you tried getting fail. An image needs to be a link not a code. There is no difference between codes in pc and mobile.
16th Dec 2019, 7:27 PM
Shane Coughlin
Shane Coughlin - avatar