// When httpAdminRoot is used to move the UI to a different root path, the
// following property can be used to identify a directory of static content
// that should be served at http://localhost:1880/.
//httpStatic: '/home/nol/node-red-static/',
httpStatic: '/home/me/.node-red/public',
// The maximum size of HTTP request that will be accepted by the runtime api.
// Default: 5mb
First, as Steve said, test to see if you can load the image at all by opening the url http://...:1880/Pictures/metal_7.jpg. If that works, then you have got httpStatic properly configured.
The screenshot you've just shared shows the CSS is badly formed. You can see it has crossed out the line with your background-image statement.
The problem is with the CSS you have in the template node. You have got the #TV_Remote_control mode {nested inside body - which is not valid css.
Without knowing the structure of your page, its hard to say what you should change that to. As a guess, move the #TV_Remote_control block outside of the body block:
Hi @mammoet
If you have set httpStatic to /home/pi/image then any file you have in that directory can be accessed from http://localhost:1880/
For example, if your background image is /home/pi/image/my-image.png then you should be able to access that as http://localhost:1880/my-image.png
Following the example on the mailing list you’ve linked to, you can insert the following into a ui_template node within your dashboard:
<style>
body {
background-image: url("/my-image.png");
}
</style>
Yes, NR has moved on since then. The machine I showed you the screen shots is running NR 1.0.3 RasPi.
You said you had exactly the same thing working on a different machine. You've now shared a screenshot showing different content to what you are trying to use.
Here is what you shared from the current machine that is not working:
In the working template, the background-* rules are inside the body selector.
In the not-working template, the background-* rules are inside a selector #TV_Remote_control mode which is invalidly nested inside body.
I'll ask one more time - have you tried what I have suggested? The screenshots you have shared only confirm what I said was the issue and that you need to fix the CSS.
And I have a couple of 5TB drives which have backups of stuff.
The other machines back them selves up (manually) when I press a button.
I do need to copy the back ups from the SD card to the next (higher) level of backing up.