I try to display my image "water_sensor.jpg" stored in d drive (d:) using ui-template but failed: <img src="d:\water_sensor.jpg" alt="error" width="500" height="500">
"error" is shown and the image cannot be displayed.
I've tried to use an html file with this scripts to run in the browser. It works.
I am not an expert here, but have displayed images on dashboard successfully using ui-template nodes
the image to be displayed should be in the same folder as set in settings.js file.
find the line httpStatic in settings.js, uncomment it and set the path as required by you.
for example my settings file is as below