knightss27 / grafana-network-weathermap

A fully featured and customizable network weathermap plugin for Grafana (9.0+).
https://grafana.com/grafana/plugins/knightss27-weathermap-panel/
Apache License 2.0
139 stars 7 forks source link

Unable to add pictures into existing icon list #21

Closed zid57 closed 1 year ago

zid57 commented 1 year ago

Unable to add new icons I would like to add new pictures into the existing icon folders but when files copied to cisco icon folder and grafana-server restarted, the weathermap plugin cannot be loaded. I tested to copied png and svg and same behavior.

Expected behavior I'm excepting to see the picture into the icon list

Screenshots Snip20220913_10

VERSIONS

knightss27 commented 1 year ago

Unfortunately this is not the way plugins work. The path to the icons that I use is the result of Grafana copying the contents of my plugins images into the 'public' folder. Unless you added images and resigned the plugin, this would not work (also if you look at my code, the options for icons are statically generated, it doesn't scan any directories anyways). You can see #5 or read the FAQ on the wiki for why I can't add image uploading functionality.