VolkovLabs / business-media

The Business Media panel is a Grafana plugin that renders PNG, JPG, GIF, MP4, WEBM, MP3, OGG, and PDF files encoded in the base64 format and URL.
https://docs.volkovlabs.io
Apache License 2.0
24 stars 3 forks source link

Image description field #81

Closed EvannG1 closed 1 year ago

EvannG1 commented 1 year ago

Hello,

I've just installed this plugin, which suits my needs perfectly.

However, would it be possible to add a description for each image? And that this description could be retrieved from the query.

Let me explain, I'm currently displaying images from a camera, and this camera takes pictures every X minutes and stores them in a database with several fields including the base64 encoded image and a "datetime" field. Currently, using this plugin, I can display all my images, but I can't tell which image was taken at which time.

Thanks

mikhail-vl commented 1 year ago

@EvannG1, how and where would you like the time and description to be displayed?

We have had a similar request before and can implement it in the upcoming version.

EvannG1 commented 1 year ago

image

Here's what our old panel looks like, written using JavaScript. A slider that allows you to go from one image to another (by default to the right to be on the last image captured) and just above the date.

On your plugin, the date can be displayed below the image (centered?), or below the Previous/Next buttons.

mikhail-vl commented 1 year ago

@EvannG1 Ok, I will check what is the best option to display the description.