Dashboard button node Icon Property to show jpg image

Hi,

I don’t have the HTTP static entry in my log. Dashboard version is 2.28.1, see below.

I have read the linked topic. Everything is very complicated for me on a css / programming level with. What I’m really missing is a set of nodes, where things can be defined without css knowledge.

I also read the uibuilder, but that needs web developer knowledge as well.

Seems that its too complicated for me. In every case: Thank you!!!

| Andrei
9 March |

  • | - |

guenter-ms:

Do you have a link to the right topic?

Have a look in this one.

guenter-ms:

Is there a „static folder“ to be defined in the settings.js file? How?
I found a settings.js in the redmatic/etc path, see json below. Is the „userDir“ the „static folder“?

Look at Node-RED the initialization log. It will show you what is your static file. At the time of this writing I am using windows and this is how the initialization log looks like.

The static path is: C:/Users/OCM/.node-red/static

The target image is on folder: C:/Users/OCM/.node-red/static/nri

Therefore I configure the URL statement this way:
background-image: url("/nri/cluster-fuel.png");

The initialization log also tells you where you can find the settings.js file. In my case: