Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.
The root location for images used with public dashboards
-
This might be a bit dumb question but I couldn't find the answer with quick googling and neither the /web/img and /public/ directories didn't work so I decided to ask it here.
So where should I save the image and how to refer to it?
-
If you haven't changed the default settings for dashboards in system settings try this
<img src="/modules/dashboards/web/public/<your img file>" />The best place to store your image files as well as all the other files you are using in your dashboard is in the overrides dir. This way when you upgrade Mango you don't have to worry about your files being deleted.
<Mango Root>/overrides/web/modules/dashboards/web/public