Uploading picture from my computer | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Uploading picture from my computer

Hey how do I upload a picture from my computer on to the website so that I can use it for my code? This is what I have: <img alt="" class="img-circle" src="C:\Users\jefsi\Pictures\jeff.photoshoot1.jpg"> If you are able to help please let me know what I can do asap!

8th Jun 2018, 2:53 PM
Jeffrey Simmons
Jeffrey Simmons - avatar
3 Answers
+ 4
You cant get image from your files..upload it to an host and get its src https://www.sololearn.com/discuss/1054246/?ref=app
8th Jun 2018, 2:55 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 3
I don't do web development here on SoloLearn, but I believe you would need to upload it to a free pic hosting site and then link it to the URL they give you. http://tinypic.com/ https://imgur.com/ etc... Those are two I'm aware of, but I'm sure there are many more.
8th Jun 2018, 2:56 PM
Fata1 Err0r
Fata1 Err0r - avatar
+ 1
Just upload the pictures to your dropbox and get the link then replace the link with whatever location you have mentioned above. Or you can upload the pictures on free image hosting sites and do the same copy paste the link in "src". just remember the link should end with ".jpg" or the extension of the image. And if you are using dropbox link then replace "dl=0" with "raw=1" Hope that was helpful.
8th Jun 2018, 4:38 PM
_incognito_
_incognito_ - avatar