Hey friends how set a image src in a smart phone | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Hey friends how set a image src in a smart phone

23rd Jan 2018, 3:51 AM
rohit kumar
rohit kumar - avatar
3 Answers
+ 11
Go through @Erik Johanson's answer here: https://www.sololearn.com/Discuss/624265/?ref=app
23rd Jan 2018, 7:26 AM
🌛DT🌜
🌛DT🌜 - avatar
+ 6
There is no difference between to set an image src in a pc or a smartphone. You can use absolute or relative path as image source. You should use relative path when you will use an image from local storage. Use the absolute path when you want to load the image from other source.
23rd Jan 2018, 4:00 AM
Adnan Zawad Toky
Adnan Zawad Toky - avatar
+ 2
I think the question is oriented to how you can use an image that is stored on your smartphone in CodePlayground The answer is short in that case is that you can not, or not directly. You need to store your image in an external host and then include the url in your web For that you can use Imgur or Dropbox
23rd Jan 2018, 7:16 AM
Mickel
Mickel - avatar