How can i source images from my phone storage to an <img> tag in the sololearn app | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

How can i source images from my phone storage to an <img> tag in the sololearn app

#web_dev

1st Sep 2018, 11:59 AM
Chukwunonso Kanu
Chukwunonso Kanu - avatar
2 Answers
+ 1
you can source from imgur.web-hosting
9th Sep 2018, 7:34 AM
Владислав Крендель
Владислав Крендель - avatar
- 1
To src atribute try write: file:///PATH_TO_YOUR_FILE Note: You must write full path to file (in root in internal storage is path: storage/sdcard0/...) If it doesn't work, it is maybe caused by access to storage.
1st Sep 2018, 1:44 PM
Vojtěch Novák
Vojtěch Novák - avatar