+ 5
How can I use a pic from my phone in a code?
I want to add my own picture from my phone to a code without having to upload it to the internet. Is that possible?
6 Respuestas
+ 12
On Sololearn? No.
+ 10
Actually, it is very much possible. Just use the file:// protocol before your image path. Just remember that by doing so, the image will display only for you, not anyone else.
E.g.
<img src = "file:///storage/emulated/0/Download/myImage.jpg/">
Rel:
https://www.sololearn.com/Discuss/785670/?ref=app
+ 4
Upload your images to google drive and you can show their path in your code . GreenBlazer 416
+ 3
No
+ 2
You have to upload it to the internet first. It's not hard though, check this code: https://code.sololearn.com/WzQmcqq83rn2/?ref=app