WEBSITE | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

WEBSITE

How to upload a background image using html and css to create a website

21st Oct 2020, 12:05 PM
Jennisha Smith
Jennisha Smith - avatar
6 Answers
+ 6
https://www.sololearn.com/Discuss/2356900/?ref=app Edit: Jennisha Smith Check my 2nd answer out. You can also use www.imgbb.com to upload images
21st Oct 2020, 12:16 PM
Simba
Simba - avatar
+ 3
Thank you SilvenLEAF, I tried using AirDrop 😂 and realize i can’t use it I’ll try getting dropbox
21st Oct 2020, 12:38 PM
Jennisha Smith
Jennisha Smith - avatar
+ 2
Thank you Simba😊, I know that but I can’t get to upload a picture off my phone
21st Oct 2020, 12:19 PM
Jennisha Smith
Jennisha Smith - avatar
+ 1
Jennisha Smith Another thing, the normal dropbox link will not work. Do this, change final 0 to 1 and replace www with dl I mean, the original link will look like this https://www.dropbox.com/s/xuh1fp7fayu2wnt/Zoro.jpg?dl=0 Change it like this (See, www into dl and 0 into 1) https://dl.dropbox.com/s/xuh1fp7fayu2wnt/Zoro.jpg?dl=1 All the best friend👍👍👍
21st Oct 2020, 12:56 PM
SilvenLEAF
SilvenLEAF - avatar
+ 1
Body{ Background:url("image url"); }
22nd Oct 2020, 1:43 PM
Black Knight
Black Knight - avatar
0
Jennisha Smith Hey Smith, You can NOT upload your image straight from your phone on SoloLearn. You can upload to dropbox etc then use that link here. But anyway, in general, if you want to upload an image straight from your phone, you need some BackEND coding, like Python or BackEND JavaScript (with Node) etc. I use Node though. Anyway, you can not upload on SL straight from your phone.😅😅😅
21st Oct 2020, 12:31 PM
SilvenLEAF
SilvenLEAF - avatar