how to open image image from local file directory?
please help me
i want to open an image in the dashboard from local file in the raspberry pi?
how to open image image from local file directory?
please help me
i want to open an image in the dashboard from local file in the raspberry pi?
Loading an image (or any file for that matter) from the machine where node-red is running is as simple as using and file in
node.
I'm gonna hazard a guess that you want to do more than just load it. Perhaps edit it? Display it in a dashboard?
There are plenty of examples if you search.
Hi - Look in your settings.js
file for this httpStatic section, something like this:
// 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/public',
As it suggests, you can then serve all the PI's local files from under that directory.
Just make sure to follow the instructions on that first line (set a different root path),
since the default url '/' will overlap with the urls to your local files.
Is this what you are looking to do?
If you want to load and process an image, you could use noee-red-contrib-image-tools
As it load an image from file location and can convert an image to base64 you can inject that into a UI template node for displaying it in the dashboard.
want to display the image captured from raspberry pi camera. i have got
the camerapi node but it stores in /home/pi/pictures directory i want to display every image captured during a button touch.
hy gosaye_1, are you finish your problem about display captured from local file?
Hi @budiman098 you'd be better off creating a new topic and describe your exact requirements and what you have tried so far.
Helpful info should include...