larona-epict-panel
larona-epict-panel copied to clipboard
Background URL independent of Grafana location
Hi,
thank you very much for the ePict plugin. I have been trying out the plugin with images in different locations. I was only able to see an image in case it was located in my grafana-directory in subdirectory public, e.g.
Background URL: public/img/MyImg.jpg Background URL: public/MyImg.jpg
I was not able to see an image stored in any other location on my local disk. Am I missing something or is this per design? Unfortunatelly I would really need to show images from a custom directory...
Thanks a lot and best regards!
Hello, thanks for your feedback !
Your image must be accessible by the web-browser. Generally, the image is hosted on a web server, then you paste the URL in the field, something like http://myWebServer/myImage.jpg
If that's not what you expected, can you tell me more about your setup ? Where is the server, where are the clients, and what's the server OS ?
Best regards
Hi,
currently I am doing local tests, with only one computer (Windows 10) - the grafana-server is running on localhost, I connect locally via Chrome, also my images are also on the same machine. Later the setup should be with grafana-server and images on the same machine and remote client.
As URL I have used the path to local images, which are accessibe when URL is pasted directly in Chrome browser. From ePict there are accessible when placed in Grafana directory, but not from any other directory...
Ok, I see, this is because the browser prevents the web page from accessing local resources.
However, you can use any webserver to serve your images, you can upload the images online if you don't want to setup a webserver (imgur.com, ...)
However, in a future release, I'll try to allow the user to select a local image and then store it in the dashboard (don't know if it'll work at the moment).
Hello, how is the status with the local resources?? Thanks!