Plugins 〉Base64 Image/PDF


Base64 Image/PDF

  • Overview
  • Installation
  • Change log
  • Related content

Base64 Image/PDF panel plugin for Grafana

Image Panel

Grafana 8 Base64 Image CI codecov Language grade: JavaScript


The Base64 Image/PDF Panel is a plugin for Grafana that displays raw and Base64 encoded files in PNG, JPG, GIF, and PDF formats.


Demo is available on


  • Grafana 8.0 is required for version 2.X.
  • Grafana 7.1+ is required for version 1.X.

Getting Started

Use the grafana-cli tool to install from the command line:

grafana-cli plugins install volkovlabs-image-panel


  • The returned value can contain base64 with or without definition (data:image/jpg;base64,XXX or data:application/pdf;base64,XXX).
  • The file type is determined automatically based on the first Base64 symbol if definition is not provided.
  • If the data source returns more than one field with type string, 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.
  • Image height and width can be auto-adjusted to panel's size, kept original or customized base on the field's value or display's panel options.
  • Allows to add URL with title to navigate to other dashboard when clicking on the image.


We love to hear from users, developers, and the whole community interested in this plugin. These are various ways to get in touch with us:

  • Ask a question, request a new feature, and file a bug with GitHub issues.
  • Star the repository to show your support.


  • Fork the repository.
  • Find an issue to work on and submit a pull request.
  • Could not find an issue? Look for documentation, bugs, typos, and missing features.


  • Apache License Version 2.0, see LICENSE.

For more information, visit the docs on plugin installation.


2.3.1 (2021-11-09)

Features / Enhancements

  • Add display:block to display href properly [] ()

2.3.0 (2021-11-08)

Features / Enhancements

  • Navigate to another dashboard from image click (#19)
  • Upgrade to Grafana 8.2.3 (#20)

2.2.0 (2021-11-02)

Features / Enhancements

  • Upgrade to Grafana 8.1.5 (#16)
  • Upgrade to Grafana 8.2.0 (#17)
  • Upgrade to Grafana 8.2.2 (#18)

2.1.1 (2021-08-18)

Features / Enhancements

  • Add Radio to select Image Size modes (#14)

2.1.0 (2021-08-12)

Features / Enhancements

  • Update README (#10)
  • Upgrade to Grafana 8.1.1 (#12)
  • Add Options and Fields to resize an image (#13)

2.0.0 (2021-06-19)

Breaking changes

  • Supports Grafana 8.0+, for Grafana 7.X use version 1.0.1 or 1.1.0

Features / Enhancements

  • Based on Grafana 8.0.2

1.1.0 (2021-06-19)

Features / Enhancements

  • Display base64 image with header #7 (Display base64 Image from InfluxDB #6)
  • Increase tests coverage #4

1.0.1 (2021-06-07)

Features / Enhancements

  • Add screenshots for Static and Redis data sources

1.0.0 (2021-06-07)

Features / Enhancements

  • Initial release based on Grafana 7.5.7
  • Supports PNG, JPG, GIF and PDF