Need to show image in dashboard (UI)
Image is coming in base64 format but I think it is not bringing full image data which I can see in other mqtt client like easymqtt.
- How to display the image.
- is there some way to increase the data limit to receive full message received in mqtt publish message.
HERE Is the data which seems incomplete. see dots in the end. (Can I increase it size to hold longer string (base64)
[
{
"id": "57345c509c40faeb",
"type": "tab",
"label": "Images",
"disabled": false,
"info": "",
"env": []
},
{
"id": "65ed65d31be7f575",
"type": "mqtt in",
"z": "57345c509c40faeb",
"name": "",
"topic": "esp32cam/send",
"qos": "2",
"datatype": "auto-detect",
"broker": "7d3c912cda946002",
"nl": false,
"rap": true,
"rh": 0,
"inputs": 0,
"x": 120,
"y": 120,
"wires": [
[
"1259899ddb72984b"
]
]
},
{
"id": "1259899ddb72984b",
"type": "base64",
"z": "57345c509c40faeb",
"name": "",
"action": "",
"property": "payload",
"x": 380,
"y": 120,
"wires": [
[
"0c2af353be529f2e",
"56536b6c7c353b55"
]
]
},
{
"id": "56536b6c7c353b55",
"type": "debug",
"z": "57345c509c40faeb",
"name": "debug 1",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 580,
"y": 280,
"wires": []
},
{
"id": "0c2af353be529f2e",
"type": "image",
"z": "57345c509c40faeb",
"name": "",
"width": 160,
"data": "payload",
"dataType": "msg",
"thumbnail": false,
"active": true,
"pass": false,
"outputs": 0,
"x": 580,
"y": 200,
"wires": []
},
{
"id": "7d3c912cda946002",
"type": "mqtt-broker",
"name": "",
"broker": "broker.hivemq.com",
"port": "1883",
"clientid": "",
"autoConnect": true,
"usetls": false,
"protocolVersion": "4",
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthRetain": "false",
"birthPayload": "",
"birthMsg": {},
"closeTopic": "",
"closeQos": "0",
"closeRetain": "false",
"closePayload": "",
"closeMsg": {},
"willTopic": "",
"willQos": "0",
"willRetain": "false",
"willPayload": "",
"willMsg": {},
"userProps": "",
"sessionExpiry": ""
}
]