# Cannot display image using html in ui-template

**URL:** <https://discourse.nodered.org/t/cannot-display-image-using-html-in-ui-template/78314>\
**Category:** Dashboard\
**Tags:** function-node\
**Created:** [10 May 2023 11:01 UTC](https://discourse.nodered.org/t/cannot-display-image-using-html-in-ui-template/78314 "2023-05-10T11:01:20Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![smanjunath211](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/smanjunath211/32/95742_2.png) [@smanjunath211](https://discourse.nodered.org/u/smanjunath211)\
**Post date:** [11 May 2023 10:41 UTC](https://discourse.nodered.org/t/cannot-display-image-using-html-in-ui-template/78314/5 "2023-05-11T10:41:13Z")

</div>

> [@Getting image in dashboard](https://discourse.nodered.org/t/getting-image-in-dashboard/228):
>
> Oke so i saw this tread on the google group : [https://groups.google.com/forum/#!topic/node-red/xMsaLwZ8lnw](https://groups.google.com/forum/#!topic/node-red/xMsaLwZ8lnw) about getting a background image. now i have changed my httpstatic to /home/pi/image/ and my question is what do i need to change in the script that the guy on this tread is providing Kind Regarts Niels-Yvo Grummel

---

_[View the full topic](https://discourse.nodered.org/t/cannot-display-image-using-html-in-ui-template/78314)._
