+ 1

Displaying Images

Hello Folks: Just created a html page and wanted to display image in it, used <img> tag but what be the path for src : (1) if picture is in my phone. (2) else picture is on internet.

14th Oct 2017, 6:51 AM
Nitin G Dagaya
Nitin G Dagaya - avatar
8 Answers
+ 19
If the picture is in your phone then upload it to http://tinypic.com and get the url then use it in ur code if it is on the internet then obtain the url and use it in ur code...
14th Oct 2017, 8:05 AM
Genes Sambayena
Genes Sambayena - avatar
+ 19
Anytime
14th Oct 2017, 8:35 AM
Genes Sambayena
Genes Sambayena - avatar
+ 18
Thank you for your contribution that is best if your using sololearn on mobile bt of ur coding in a pc no way u have to upload it to tinypic.com or google drive or 4shared photobucket flickr any 1 u would prefer.. *_*
14th Oct 2017, 12:27 PM
Genes Sambayena
Genes Sambayena - avatar
+ 17
Thank you..
14th Oct 2017, 1:53 PM
Genes Sambayena
Genes Sambayena - avatar
+ 3
to access the image on your phone you can use <img src="file:///storage/then the location of your image">
14th Oct 2017, 11:58 AM
Core i9
Core i9 - avatar
+ 2
Thank you Genes ! it worked
14th Oct 2017, 8:17 AM
Nitin G Dagaya
Nitin G Dagaya - avatar
+ 2
Appending the above mentioned image hosting websites only . check out https://postimages.org
14th Oct 2017, 1:28 PM
Kash
Kash - avatar
+ 1
Folks any of you getting results by accessing image from phone storage?
14th Oct 2017, 3:50 PM
Nitin G Dagaya
Nitin G Dagaya - avatar