I would like to change the src parameter of the historical graphs that are generated to use absolute paths instead of relative.

For example:

Changing the following line -

<img class="prtgchart load" onload="$(this).removeClass('load');" src="/chart.png?graphid=-1&amp;id=23223&amp;avg=60

to

<img class="prtgchart load" onload="$(this).removeClass('load');" src="https://example.com/chart.png?graphid=-1&amp;id=23223&amp;avg=60


Article Comments

Hi,
I'm afraid it is not possible to change this in the template as only relative URLs are supported there. If you only need the graph URL, just do a right-click on the same and then choose "Open in new tab".
Best regards


Oct, 2012 - Permalink