How can l Insert Pictures from my phone directory in HTML? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can l Insert Pictures from my phone directory in HTML?

Can someone tell me how can l insert .jpg file from my phone into a HTML document. I am using the main directory of a specific picture but it doesn't work. For example: <img src="/storage/emulated/0/DCIM/Facebook/image.jpg" /> Am l missing something, because it is not printing anything when i run the code? If someone can tell me if it's possible to use phone pictures in here, l will be really thankfull! :)

29th Oct 2017, 12:17 PM
Aleksandar Markov
Aleksandar Markov - avatar
1 Answer
+ 2
I do not think using your server phone is a good idea xD Just pass the image to the root folder of your website. Now if you talk about doing it to program directly here in sololearn, remember that if it worked only would be visible to you, at the time of publishing your code you would have to upload it.
29th Oct 2017, 12:38 PM
Angela_g710
Angela_g710 - avatar