+ 1

In Image tag which is <img src="" />,how can I write path if I want to add a picture from mobile phone?Is path is only for PC?

26th Oct 2017, 5:06 AM
Atif Iqbal
Atif Iqbal - avatar
2 odpowiedzi
+ 3
If you write the code in SoloLearn Code Playground that's impossible, the best bet would be to put your image on public image hosting, like imgur: https://imgur.com If you're doing it on your device, you may try to use relative path to refer to the image, read about relative path here: https://www.w3schools.com/html/html_filepaths.asp Hth, cmiiw
26th Oct 2017, 8:28 AM
Ipang
+ 1
I use imgbb to get public address works great for me.
26th Oct 2017, 11:50 AM
bobbie
bobbie - avatar