HTML - Trick to use your phone photos in Sololearn playground... | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 6

HTML - Trick to use your phone photos in Sololearn playground...

Follow these steps. 1. Using ES file explorer locate your image file. 2.Press and hold the image and click on more and then click on properties. 3.Click on copy fullpath. Now you have copied the location of the image . 4. Now open the HTML code playground. 5.For example my image location which i have copied is : /storage/emulated/0/Photos/Flower.jpg 6. In the <img src=""> You have to type file:// and then paste your image location. 7. <img src="file:///storage/emulated/0/Photos/Flower.jpg">

3rd Apr 2018, 3:44 PM
Vinyas Amin
Vinyas  Amin - avatar
2 Answers
+ 6
Note: This will only work for you local playground :) When you want to share the code nobody will be able to see the image, because Vinyas Amin is using a local image
3rd Apr 2018, 3:48 PM
***
*** - avatar
+ 3
Yeah ... 😁
3rd Apr 2018, 3:52 PM
Vinyas Amin
Vinyas  Amin - avatar