I am trying to figure out the new feature to display a base64 encoded images in a table, but am a bit stuck and don’t know how the image should be encoded.
I have an influxDB, into which I am inserting a base64 encoded jpg image. The payload I am pushing to influxDB looks like this (in this example, just a red dot I found on stack overflow):
In my panel, I have the following influxDB query:
SELECT first("imageData") FROM "sensor_data" WHERE ("sensor" = 'office_camera') AND $timeFilter GROUP BY time(1m) fill(null)
And I get a result set that I can display:
But if I try and override the Cell display mode for the field to “Image”:
I get this:
Should I prefix my data in some way?
If I copy the value from the table in Grafana, and pipe it through base64 to decode it, I get the red dot jpeg image, which I can open in an image viewer.
Thanks for a nice product!