# Theme setting for uploading images

**URL:** https://meta.discourse.org/t/theme-setting-for-uploading-images/131971
**Category:** Feature
**Created:** [October 26, 2019, 9:01pm UTC](https://meta.discourse.org/t/theme-setting-for-uploading-images/131971 "2019-10-26T21:01:01Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Lumi](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@Lumi](https://meta.discourse.org/u/Lumi)
#### Post date: [October 26, 2019, 9:01pm UTC](https://meta.discourse.org/t/theme-setting-for-uploading-images/131971/1 "2019-10-26T21:01:01Z")

</div>

Would it be possible to add a theme setting, which allows uploading images? Let’s say that I have a theme, which adds a background image. If I want to let the site admin to choose a custom image, I can only provide a string field for the url, but the image itself must be uploaded somewhere else. It would be nice if you could choose an image that is stored in the site uploads, the url retrievable by the setting variable. This feature is already implemented in the site settings for logos and icons.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [October 27, 2019, 3:52pm UTC](https://meta.discourse.org/t/theme-setting-for-uploading-images/131971/2 "2019-10-27T15:52:48Z")

</div>

Have you seen [Include assets (e.g. images, fonts) in themes and components](https://meta.discourse.org/t/include-images-and-fonts-in-themes-and-components/62459)

---

<div class="post-metadata">

### Author: ![Lumi](https://avatars.discourse-cdn.com/v4/letter/l/b38774/32.png) [@Lumi](https://meta.discourse.org/u/Lumi)
#### Post date: [October 27, 2019, 5:41pm UTC](https://meta.discourse.org/t/theme-setting-for-uploading-images/131971/3 "2019-10-27T17:41:14Z")

</div>

I am aware of that tutorial. I should probably clarify, that in my example the end user would be the one to add the image, not the theme developer. In such a case a single setting for uploading images would be better. Furthermore, one cannot locally add images as assets for remote themes, because updates will clear them out.
