Skip to content
← Back to Community
Uploading Image Files On Repl.it
Profile icon
TheCoiledViper

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

Voters
Profile icon
soyombo5502
Profile icon
NandiniGupta6
Profile icon
surekanavaneeth
Profile icon
STU-MASONMASON
Profile icon
ellenlyons111
Profile icon
ISABELLAALLEY
Profile icon
Ab4dakor
Profile icon
bykdx
Profile icon
ylybr
Profile icon
CRIZHA-MAEMAE
Comments
hotnewtop
Profile icon
GuyamOnPython
This file cannot be displayed: https://images2.persgroep.net/rcs/78p2OSflGhU9SbewnWQ2irSwcKw/diocontent/163536241/_fitwidth/1240?appId=93a17a8fd81db0de025c8abd1cca1279&quality=0.9 ![Uploading image.png...]()
Profile icon
ejarvis26

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

Profile icon
timmy_i_chen

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.

Profile icon
YessVela

You're awesome @timmy_i_chen

Profile icon
LucasConrad

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

Profile icon
MATTHEWDL
Profile icon
mdmnyggistrash

ero0fr

Profile icon
GeorgeLu

ho

Profile icon
YixiangLin

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

Profile icon
harinarayancn

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.

Profile icon
F10lover2021

Um okay
how do you do it on a normal python file

Profile icon
GhalaIbrahim1

hi

Profile icon
OptiSamosir

This file cannot be displayed:

Profile icon
NIVEDH-KRISHNAK

unknown

Profile icon
kannibalistic

are you using scratch?

Profile icon
leoyam

dude

Profile icon
codermaster8

Not really explaining but I kinda get it

Profile icon
travisdowns3412

start screen

Profile icon
travisdowns3412

start screen

Profile icon
travisdowns3412

start screen

Profile icon
kotababy

NO never my lady!!!!

Profile icon
fkjhs

kingw

Profile icon
kannibalistic
Profile icon
[deleted]