vscode-background icon indicating copy to clipboard operation
vscode-background copied to clipboard

Cannot set background image

Open SakanaKochiya opened this issue 4 years ago • 5 comments

I tried a lot of ways but it seems that the background wont load up My setting.json

  "background.enabled": true,
"background.useDefault": false,
"background.useFront": true,
"background.style": {
"pointer-events": "none",
"position": "absolute",
"width": "100%",
"height": "100%",
"background-repeat": "no-repeat",
"opacity": 1
},
"background.customImages": [
"C:/a.png"
],
}

SakanaKochiya avatar Mar 05 '22 05:03 SakanaKochiya

Plugin only support file or https protocol

suiyun39 avatar Mar 07 '22 00:03 suiyun39

Plugin only support file or https protocol

Tried with HTTPS and file protocols, also not work

SakanaKochiya avatar Mar 23 '22 13:03 SakanaKochiya

@SakuraKaslana

Can default images appear?

If so, validate the urls you provide, https://github.com/shalldie/vscode-background/issues/266#issuecomment-931226595

shalldie avatar Mar 31 '22 12:03 shalldie

umm, so, does it still not work? i think i found a temporary fix to it

Ch3ru09 avatar May 25 '22 04:05 Ch3ru09

@SakuraKaslana

I think you maybe forget to set "content": "''" on "background.style"

frg2089 avatar Jun 08 '22 14:06 frg2089

you need this form the files from windows

"file://C:/Myfolders/file.jpg"

aorozco-caemsa avatar Oct 19 '22 19:10 aorozco-caemsa