Skip to main content

Variables

Base64 Image/Video/Audio/PDF Panel supports dashboard and global variables in the Image URL panel option.

These three types of variables are explained in our Grafana Crash Course.

Example of dashboard variable in the Base64 panel

Below you can find an example of how a dashboard variable can be used to dynamically determine which file to display on the panel. The following blog post describes a project that integrates three open-source plugins to solve the task of uploading a file into a database and then immediately showing what has been uploaded.

The plugins used in the example are:

File upload using the Grafana dashboard.
File upload using the Grafana dashboard.

If you are a visual style learner, you can watch the video. It covers the same ground.

File Upload using Grafana dashboard.