Base64 Image/PDF panel plugin was recently upgraded in the Grafana Catalog and has everything you need to display images from any data source on your dashboards.
The initial version of the Base64 Image/PDF panel for Grafana was created for the project "Analyzing camera feed in real-time" and helped to streamline the original project by displaying AI-analyzed images on the Grafana dashboard.
Since the original version, the Base64 panel was
- Upgraded to support Grafana 8.
- Downloaded more than 45,000 times.
- Featured in the Grafana Community Plugin Showcase (August 2021).
- Used for various projects like security camera monitoring.
You can use the
grafana-cli tool to install from the command line for standalone Grafana or directly in the Grafana Cloud.
grafana-cli plugins install volkovlabs-image-panel
In the latest version of Grafana 8.1 standalone plugin can also be installed using the Grafana Catalog application.
The values returned from the data source can be Base64 encoded with or without definition in the format
If the definition is not provided, the file type is determined automatically based on the first Base64 symbol.
If the data source returns more than one field with
string type, you can select the Field Name in the panel's display options. If the data source returns multiple rows, the panel will display the image from the last row.
The height and width of the image can be auto-adjusted to the panel's size, kept original, or customized based on the field's value, or panel options.
Take a look at the repository and let us know if you have any questions or future requests.