Dashboard node similar to node-red-contrib-image-output


The node-red-contrib-image-output is fantastic, I just would like to display the same image in the dashboard ( buffer image in my case ).!

Thank you all

image buffer --> base64 --> function --> ui-template

function node

msg.payload = "data:image/png;base64," + msg.payload; //set correct mime type e.g. jpeg or gif etc
return msg;

ui template node

<img src="{{payload}}" />

Thank ! you working

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.