I am able to use the image of a diagram of my network rack as a background in Maps. However, it positions the image left of the field. How can I reposition the image so that it appears, for example in the center or where ever I'd like on the field?
I would like to display sensors and graphs on both sides of the rack in a Map.
Article Comments
Hello ginmardo, can you give this a try and let us know the results?:
You'll need to create a new map object with e.g. a status related background.
Go to the folder <PRTG Installation Directory >\webroot\mapobjects and create a new .htm file with the content
<!--Status Icons: Status Related Background-->
<div class="map_object map_icon2 map_icon_large <#sensor type="colorclassofstate" prefix="map_iconcolor_" id="<@objectid>">" id="<@itemid>" objectid="<@objectid>" subid="<@subid>" style="<#mapobject type="coordinates" subid="<@subid>" mode="<@editmode>">">
<#mapobject type="objectgrip" mode="<@editmode>">
<#mapobject type="htmlbefore" subid="<@subid>">
<img src="/images/test.jpg">
<#mapobject type="htmlafter" subid="<@subid>">
</div>
Then copy the image to the folder webroot\images and replace the
img src="/images/test.jpg
with the name of the image.
The object will be available in the Map Editor > Status Icons > Status Related Background.
Source: https://https://helpdesk.paessler.com/en/support/solutions/articles/76000063758
Jun, 2022 - Permalink
Hey Oscar, it worked.
However, I am gonna nitpick a little: I get a red backdrop behind the image whenever I extend the size of the image border. But, it'll do for now.
Thanks.
Jun, 2022 - Permalink
Please how do i add a background image to my prtg report.
Sep, 2022 - Permalink
Hello ginmardo, can you give this a try and let us know the results?:
You'll need to create a new map object with e.g. a status related background.
Go to the folder <PRTG Installation Directory >\webroot\mapobjects and create a new .htm file with the content
Then copy the image to the folder webroot\images and replace the
img src="/images/test.jpg with the name of the image.
The object will be available in the Map Editor > Status Icons > Status Related Background.
Source: https://https://helpdesk.paessler.com/en/support/solutions/articles/76000063758
Jun, 2022 - Permalink