# Changing Image on the Dashboard via different payloads

**URL:** <https://discourse.nodered.org/t/changing-image-on-the-dashboard-via-different-payloads/35414>\
**Category:** General\
**Created:** [5 November 2020 23:37 UTC](https://discourse.nodered.org/t/changing-image-on-the-dashboard-via-different-payloads/35414 "2020-11-05T23:37:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrdP](https://avatars.discourse-cdn.com/v4/letter/d/b5ac83/32.png) [@DrdP](https://discourse.nodered.org/u/DrdP)\
**Post date:** [5 November 2020 23:37 UTC](https://discourse.nodered.org/t/changing-image-on-the-dashboard-via-different-payloads/35414/1 "2020-11-05T23:37:38Z")

</div>

Good day all

I want to replicate that a pump is in running(green pump)/stopped(grey pump)/faulted(red pump) condition. I am reading a modbus register from a VSD. I have added a SVG Graphics node and can succesfully see an image in my dashboard. how would I change the image in the same SVG node depending if the modus value is 1,2 or 3?

this is the last part of my project for viewing remote pump stations via a wesbite.

Thank you

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [5 November 2020 23:40 UTC](https://discourse.nodered.org/t/changing-image-on-the-dashboard-via-different-payloads/35414/2 "2020-11-05T23:40:39Z")

</div>

Hi.

There is extensive documentation and examples in the [readme](https://flows.nodered.org/node/node-red-contrib-ui-svg).

Have you tried the examples?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [4 January 2021 23:40 UTC](https://discourse.nodered.org/t/changing-image-on-the-dashboard-via-different-payloads/35414/3 "2021-01-04T23:40:42Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
