Hello hary, whereever you put the image/logo or any other related info required, you can set the folder whereever you wanted just need to set this on your static on settings.js, if the file is directly on the main three then will be /name_of_file if is inside another folder then /folder/name_of_file then you will have to put this on a template as example as zenofmud told:
logo.src = ‘http://localhost/logo.jpg’
Regards
1 Like
I have not been able to get the logo to show up. I used the flow @liambroughton500 posted, and changed the image name, Test.jpg. Then as instructed I changed the http static to the root of this image: '/home/pi/Desktop/Dashboard' and removed the slashes in front. Lastly I rebooted node-red. When this didn't work I changed the logo.src to 'http://localhost/Test.jpg', but still no luck. Am I missing something?
Have you configured properly the address of your static folder on node red setting file?
Please tell me How do you do it ?
@nguyentrangiabao05 this entire topic is about how to do it. I suggest you read the discussion and follow what it says.
2 Likes
I believe I have, here is the setting file:
// 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/pi/Desktop/Dashboard',
And the file is in a "Dashboard" folder on the Desktop.
Sorry for the late response, I thought I was watching this topic.
1 Like
Hi,
Thanks for this thread, I’ve finally got the clock and logo set up (linking to an web host file was the easiest route in the end.
One small but slightly annoying thing is that I’ve noticed when the numbers on the clock changes, it can slightly moves the logo/image back and forth ?
Does anyone have a version that allows the logo or clock to remain static?
Hi ,please help .
I would like to view msg.payload(from function dynamic) and time togheter in the title bar .
please how can i do this
thank you for your help.
Please stick to one thread.
Closed.