I'm creating an application using node-red
and creating the ui with node-red-dashboard
.
I have included some api calls and based on the response I want to change the Image source of the template control.
<img src="/home/pi/Destkop/WeatherImages/sun.png">
So I used the absolute path to the image. But the image isn't get loaded. There is a symbol which indicates that and the source of the image is set to localhost:1880/sun.png
.
Where do I need to place the Image? What Path do I need to use?