Upgraded to NAV 5.17.1 and the Chart widget did not work as in previuos versions.
Example: "URL to image" = http://weather.cs.uit.no/cam/cam_south.jpg gives "Error loading image"
--Ingeborg
On Wed 25 Feb 2026 at 15:02, Ingeborg Hellemo via Nav-users nav-users@lister.sikt.no wrote:
Upgraded to NAV 5.17.1
I assume 5.17.0, .1 hasn't been released yet :)
and the Chart widget did not work as in previuos versions.
Example: "URL to image" = http://weather.cs.uit.no/cam/cam_south.jpg gives "Error loading image"
I can't say for sure what changed in the widget without digging a bit deeper (we made sweeping changes to how the dashboard is rendered), but the widget has been specifically made to display charts rendered by the NAV installation's Graphite server (and not really for displaying external images).
This means it appends some GET arguments to the image URL, like "?=timeframe=day" (to get the graph for the last 24h).
However, it seems the ordering of the appendages have been broken for some requests. When I attempt to add the above URL to a Chart widget, the requested URL is transformed to https://weather.cs.uit.no/cam/cam_south.jpg&bust=1772181394?timeframe=da... - which makes no sense.
https://weather.cs.uit.no/cam/cam_south.jpg?bust=1772181394&timeframe=da... would be the proper transformation, and that would have worked.