If you search with the tag dashboard-2 it will narrow your search and you might stumble on one of these:
- Image display with template - #2 by Steve-Mcl
- Pushing a base64 encoded image to dashboard D2 - #5 by Steve-Mcl
show us what you get from the camera.
If it is a buffer object, you probably want to convert it to base64 before using either of the 2 linked solutions (there is a contrib node or you can use a function node)
msg.payload = msg.payload.toString('base64');
return msg