How to Upload a Downloaded Photo That Can Be Seen On Everyone's (& NOT Just YOUR) Computer? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to Upload a Downloaded Photo That Can Be Seen On Everyone's (& NOT Just YOUR) Computer?

Recently, I was in coding class today helping out someone and well, I spotted their error. They uploaded and linked their personal photo to their code via the USB cord, linking the phone to the computer as of yesterday. But now that it was not hooked up today the photo of course would not load. You can think of it like someone making a website but saving the stylesheet on a flashdrive. So of course the website won't be styled without the flashdrive hooked up. Well, I thought about it and considered you could download the photo to your computer but then it would only work on *your* C.P. not another's if they have the same code on a different C.P. Well, how might I resolve this?

13th Jan 2017, 6:59 PM
BrightAsTheStars
6 Answers
+ 8
Put relative href and save img on local directory or upload img to a cloud storage (Google Drive)
13th Jan 2017, 7:02 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 8
I think whoever has link has also direct access to it without requiring credentials/authentication……
13th Jan 2017, 7:11 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 4
These are like pastebin: imagebin.ca pasteboard.co Github and Google provide for static web content free. https://www.google.com/amp/www.hongkiat.com/blog/host-website-google-server/amp/ https://pages.github.com A CodeAnywhere box is always on with minor latency. AWS gets you a server +more for one year, free.
13th Jan 2017, 7:12 PM
Kirk Schafer
Kirk Schafer - avatar
+ 2
you can put the url of the image too instead of the directory <img src="https:\\google.com/images/81;#;€71)1)#(.jpg> whatever the url is lol instead of using <img src="images\img.jpg>
13th Jan 2017, 7:16 PM
Kawaii
Kawaii - avatar
+ 1
+ValentinHacker Following on the matter of cloud storage (Google Drive) per se, I would need to allow everyone access in order for the image to appear on everyone's C.P., not just the one I'm logged into correct? Or does leaving my document private have no affect on whether it displays on my screen or another users?
13th Jan 2017, 7:08 PM
BrightAsTheStars
+ 1
+ValentinHacker, + Kirk Schafer Alrighty, thanks.
13th Jan 2017, 7:14 PM
BrightAsTheStars