# Getting image in dashboard

**URL:** <https://discourse.nodered.org/t/getting-image-in-dashboard/228>\
**Category:** Dashboard\
**Created:** [18 May 2018 09:51 UTC](https://discourse.nodered.org/t/getting-image-in-dashboard/228 "2018-05-18T09:51:52Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [18 May 2018 10:22 UTC](https://discourse.nodered.org/t/getting-image-in-dashboard/228/2 "2018-05-18T10:22:37Z")

</div>

Hi @mammoet

If you have set `httpStatic` to `/home/pi/image` then any file you have in that directory can be accessed from `http://localhost:1880/`

For example, if your background image is `/home/pi/image/my-image.png` then you should be able to access that as `http://localhost:1880/my-image.png`

Following the example on the mailing list you’ve linked to, you can insert the following into a `ui_template` node within your dashboard:

```auto
<style>
    body {
        background-image: url("/my-image.png");
    }
</style>

```

---

_[View the full topic](https://discourse.nodered.org/t/getting-image-in-dashboard/228)._
