How i can use a photo from my local drive in SoloLearn? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How i can use a photo from my local drive in SoloLearn?

I wants to add my profile pic in a website that is now in progress. How can i use a pic from my phone and use it to that website which is building on SoloLearn? Like when I'm using <img src="/sdcard/DCIM/Camera/IMG_20170616_091133.jpg"/> The image is not showing. I don't why. Plz help me with this.

24th Oct 2017, 4:40 AM
Sachin Kr. Shukla
Sachin Kr. Shukla - avatar
4 Answers
+ 1
If i upload it somewhere like Facebook then how i can use it
24th Oct 2017, 7:45 AM
Sachin Kr. Shukla
Sachin Kr. Shukla - avatar
+ 1
the path may be wrong. I use storage/sdcard0/dcim/camera/IMG.jpg or storage/sdcard1/dcim/camera/IMG.jpg
23rd Jun 2018, 5:37 AM
Core i9
Core i9 - avatar
0
Sorry, That is not possible. Just host that image in free host service, like; Imgur, imgbb etc.
24th Oct 2017, 5:22 AM
Niush
Niush - avatar
0
Go to the Image Post, Right Click and Open in New tab. Copy the Link and paste inside the src= I think you need to post publicly in Facebook for it to work. But, I still suggest Imgur.
24th Oct 2017, 10:03 AM
Niush
Niush - avatar