Ask coding questions

← Back to all posts
Uploading Image Files On Repl.it
TheCoiledViper (80)

In order to create a game, I need to use an image file saved on my PC as a Sprite. Is it possible to upload it from my PC into a repl.it as a .jpg

Comments
hotnewtop
timmy_i_chen (1151)

Sure is! Just drag it onto your repl workspace and the upload box should appear. Alternatively, there's also an upload icon (cloud with up arrow) on the workspace.

GuyamOnPython (3)
<img src="https://images2.persgroep.net/rcs/78p2OSflGhU9SbewnWQ2irSwcKw/diocontent/163536241/_fitwidth/1240?appId=93a17a8fd81db0de025c8abd1cca1279&amp;quality=0.9" alt="Kan Mark Rutte de VVD in 2021 nog één keer de grootste maken ..."/> ![Uploading image.png...]()
ejarvis26 (5)

@GuyamOnPython what do you do if you want your own photo??

LucasConrad (3)

I was just wondering how to actually add a picture that comes up if you run it like to combine or something?

YixiangLin (1)

i was drag to the flie to the repl it and they make me replace the img

harinarayancn (1)

You can use it without uploading it to repl.it as well. If you use Google, all images in Google Drive, Google Photos, and what not have a public URL that starts with lh3googleusercontent.com. To use this URL, all you have to do would be to upload the image into Google Photos, right-click it, and click on "Copy image URL." Then, you can paste this into whatever you're using it for, and it should work.

kotababy (0)

NO never my lady!!!!