Dashboard background image

i did all what they said
changing httpstatic
import image in a folder static
write the css
and also nothing appeard i don't know what's the problem
can someone help me please and thank you

What do you have for httpStatic in settings.js?
What CSS do you have and how are you applying it?

This appears to be the same question you asked in this post ?

Please don't post multiple times on the same issue it just causes confusion.

provided you have defined httpstatic correctly, the solution in the above link works.



Capture d'Ă©cran 2024-03-07 135329

ok sorry i have this problem first and i solved it sorry again

the entry looks like still commented. //

what's mean ?

As well as @smanjunath211's point (remove the // from the start of the line):

Your CSS background-image: url(\ship.png"); seems to be missing a quote.

I'm not sure about your use of \ rather than / but I don't know if it's a problem.

Capture d'Ă©cran 2024-03-07 141212

Same problem

I have seen a suggestion that you need to use double slash characters in settings.js for WIndows

httpStatic: 'C:\\Users\\youse\\.node-red\\static',


Capture d'Ă©cran 2024-03-07 142531
Capture d'Ă©cran 2024-03-07 142601
nothing appeared

try as below

httpStatic: 'c:/Users/youse/.node-red/static',

Edited for correct syntax, was missing a comma

same thing

hope you are restarting node-red after changing settings file and saving it.

can you share your node-red startup log ?

yes i restart and save it
i don't understand what you want me to share

how do you start node-red ?
If from command prompt, then a series of messages appear share that (copy/paste)

like below

7 Mar 15:15:53 - [info] 

Welcome to Node-RED
===================

7 Mar 15:15:53 - [info] Node-RED version: v3.1.0-beta.2
7 Mar 15:15:53 - [info] Node.js  version: v16.16.0
7 Mar 15:15:53 - [info] Windows_NT 10.0.19045 x64 LE
7 Mar 15:16:00 - [info] Loading palette nodes
7 Mar 15:16:05 - [info] Dashboard version 3.6.1 started at /ui
7 Mar 15:16:07 - [info] Settings file  : C:\Users\OEEHo\NR-Live\settings.js
7 Mar 15:16:07 - [info] HTTP Static    : C:\temp > /
7 Mar 15:16:07 - [info] Context store  : 'memoryOnly' [module=memory]
7 Mar 15:16:07 - [info] Context store  : 'file' [module=localfilesystem]
7 Mar 15:16:07 - [info] User directory : C:\Windows\system32\config\systemprofile

C:\Users\youse>node-red
Error loading settings file: C:\Users\youse.node-red\settings.js
C:\Users\youse.node-red\settings.js:271
diagnostics: {
^^^^^^^^^^^

SyntaxError: Unexpected identifier 'diagnostics'
at internalCompileFunction (node:internal/vm:77:18)
at wrapSafe (node:internal/modules/cjs/loader:1288:20)
at Module._compile (node:internal/modules/cjs/loader:1340:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object. (C:\Users\youse\AppData\Roaming\npm\node_modules\node-red\red.js:140:20)
at Module._compile (node:internal/modules/cjs/loader:1376:14)

C:\Users\youse>

it's the first time appeared like that i thought closing node onglet only when i closed command prompt and resart appeared that for the first time