+ 2
Can I upload an image from my device internal storage?
I want to upload an image from my device but I am unable to do this ....
9 Answers
+ 2
Yes you can add an image from your device internal storage into your html document without uploading it on a cloud platform but only you would be able to see that image .
Here's what you have to do ,
Since you are using a phone open your file manager select the image you want to add, now open up it's details now copy down it's storage url. Paste that storage url into your html document inside the image tag .
Do it like this,
<img src="file://image url">
and it's done.
+ 6
Similar posts available use search bar before posting ur question
Hope it may helps u
https://www.sololearn.com/discuss/1325165/?ref=app
https://www.solo'learn.com/discuss/2074453/?ref=app
https://www.sololearn.com/discuss/511953/?ref=app
https://www.sololearn.com/discuss/2084638/?ref=app
https://code.sololearn.com/Wy3lrXNwGsgJ/?ref=app
+ 6
Dhrumil Sheth use dropbox
Or u can upload that on imgbb. Com
As it shown in above code
+ 6
Dhrumil Sheth yes
šš
+ 2
Yes I already saw that but I am unable to upload a image which is stored in my phone I want to upload that image how can I do that?
+ 2
Okay, done so I have to first upload my image to that site and than I can copy the url from their and then copy to my html code .... Thanks for your help ā¤
+ 1
š„VENAGEš„ thank you this worked and now I can upload an image from my device too šš»
+ 1
Dhrumil Sheth You're welcome.
It's my pleasure that my answer helped you.
But this method is for knowledge purpose only , because the image would be visible to you only and other would not be able to see that image , so I would recommend you to upload your image to Dropbox or other cloud platform.
0
You can easily by using DropBox