ok, good. So let´s configure a httpstatic folder to your environment ?
Based on these two threads:
https://discourse.nodered.org/t/import-javascript-library-into-node-red/7665/2
https://discourse.nodered.org/t/make-a-button-link-to-another-page-html/880
- create a directory called
/home/pi/.node-red/static
. Of course, "static" could be named whatever you like - copy your photos into that directory
- edit property
httpStatic
in your settings file (settings.js) to/home/pi/.node-red/static
// 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/pi/.node-red/static',
- restart Node-RED and watch in the initialization log if you see now the http static line
- try to load a picture in the browser using