# Background image in Dashboard 2.0

**URL:** <https://discourse.nodered.org/t/background-image-in-dashboard-2-0/95372>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [13 February 2025 11:09 UTC](https://discourse.nodered.org/t/background-image-in-dashboard-2-0/95372 "2025-02-13T11:09:33Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![omrid](https://avatars.discourse-cdn.com/v4/letter/o/77aa72/32.png) [@omrid](https://discourse.nodered.org/u/omrid)\
**Post date:** [14 February 2025 00:11 UTC](https://discourse.nodered.org/t/background-image-in-dashboard-2-0/95372/8 "2025-02-14T00:11:12Z")

</div>

What I always do to keep my web resources (images etc.) self-contained and not rely on external connectivity, is to specify one or more local `httpStatic` hosting roots in `settings.js`, and load from there.  
For example, in `settings.js` define something like:

```auto
httpStatic:[{path:"C:/ProgramData/Node-red/WebRoot", root:"assets"}]

```

then refer to it as

```auto
/assets/images/pic1.jpg

```

You should not use the dashboard's native `dist` location as it gets wiped out upon dashboard version upgrades

---

_[View the full topic](https://discourse.nodered.org/t/background-image-in-dashboard-2-0/95372)._
