I wanna set background image in html, taking it from my phone storage but Unfortunately doesnt appear....reason?? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

I wanna set background image in html, taking it from my phone storage but Unfortunately doesnt appear....reason??

Beginner

13th Apr 2022, 7:17 AM
Ihsan Danish
Ihsan Danish - avatar
5 Answers
+ 2
Did you open it in sololearn and in the url() it contains absolute path? if yes, only absolute path or source for request mime type application/image. For absolute path can only be used if you open it locally not online
13th Apr 2022, 7:41 AM
Ferdiansyah
Ferdiansyah - avatar
+ 1
Can't be done via sololearn app. Use drop box and create a link to your picture.
14th Apr 2022, 5:15 AM
Chris Coder
Chris Coder - avatar
0
background-image: url("../image.png") Like this but not appear? You open in local or sololearn?
13th Apr 2022, 7:39 AM
Ferdiansyah
Ferdiansyah - avatar