Adding images to code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Adding images to code

I wrote an application, that I would want to share on this side, but when I copied it into the code-playground, I ran into 2 problems: 1. I have references to some image-files (e.g. for backgrounds), but I don't see how / where I can put these (external .png-files) into the playground 2. Can I get the window for the results to full-screen size? If so, how?

31st Oct 2018, 12:17 PM
Philip de Bruin
3 Answers
+ 4
You can't link pictures from local storage to your code and share with public and there's no fullscreen in playground. to link images, i use dropbox static urls.
31st Oct 2018, 12:24 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 3
1. You need to upload the image somewhere like Dropbox, Imgur or Google Drive, and then link it on your website. Here's a nice tutorial for the Dropbox option: https://code.sololearn.com/WW6t4B73kJVz/?ref=app 2. If you are referring to the top part of the window on the app, no, we can't :( But you can mark the Slim UI option to make it as narrow as possible (though only on your device).
31st Oct 2018, 12:23 PM
Kishalaya Saha
Kishalaya Saha - avatar
+ 1
Can you share your code? I will help where the problem is😃
31st Oct 2018, 12:23 PM
Roneel
Roneel - avatar