Loading background in code playground | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Loading background in code playground

can I put own images from my computer/phone into my code in codeplayground or I must load it on something like google disk?

26th Feb 2017, 10:06 AM
Jakub Adamski
Jakub Adamski - avatar
4 Answers
+ 3
You need to upload images on web to access them ( some google services have limitation is this way, and it seems to me than google drive cannot be used for that purpose, as some hosts providing only interface to consult hosted pictures on their site... but you find easily hosts that allow this )... or encode and embed them in base64 text format, but it's heavy, and is to reserve to particular case. Some example ( you may be patient for loading/executing in code playground ) here: https://code.sololearn.com/WljGVfpz1Dp1/#
26th Feb 2017, 1:55 PM
visph
visph - avatar
+ 2
Look at codes from other people and explore the links for the files. I'm not sure how it exactly works.
26th Feb 2017, 10:51 AM
Karlo
Karlo - avatar
+ 2
You can use your own image, if your file have public access like ftp,but if u want simple upload it to image hosting.
26th Feb 2017, 12:43 PM
Albertz
Albertz - avatar
0
END okay thanks everyone, end of question
26th Feb 2017, 3:37 PM
Jakub Adamski
Jakub Adamski - avatar