# OH2 idea for dynamic icons for items

**URL:** <https://community.openhab.org/t/oh2-idea-for-dynamic-icons-for-items/17847>\
**Category:** Runtime\
**Tags:** items\
**Created:** [December 7, 2016, 11:45am UTC](https://community.openhab.org/t/oh2-idea-for-dynamic-icons-for-items/17847 "2016-12-07T11:45:39Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![awsnap](https://community.openhab.org/user_avatar/community.openhab.org/awsnap/32/96539_2.png) [@awsnap](https://community.openhab.org/u/awsnap)\
**Post date:** [December 7, 2016, 6:33pm UTC](https://community.openhab.org/t/oh2-idea-for-dynamic-icons-for-items/17847/8 "2016-12-07T18:33:10Z")

</div>

> [@re-vo-lution](#):
>
> I have not found something for OH2 in the posted link, i found this:
> 
> “(This does not work for OpenHAB2 and this WIKI needs an update for how to use this on OH2)”

That is referring to a Webview (html layout of weather). That makes a little more sense now… You’re able to do some manipulation there, whereas in a sitemap or item file you cannot. That wasn’t clear in your post.

My solution to the condition icon in a sitemap was to download the icons, convert them to svg, throw them in the icons/classic folder, then rename them all to have condition- as a prefix (condition-cloudy.svg). Download the map file. I changed mine to condition.map.

```csv
String CommonId "[MAP(condition.map):%s]" <condition> (gWeather)	{ weather="locationId=home, type=condition, property=commonId" }

```

If you are wanting a Webview in your sitemap, it’s been submitted as an issue/feature request. [https://github.com/openhab/openhab/issues/4532](http://Issue)

But people have gotten it to work. [Here](https://community.openhab.org/t/html-layouts-in-oh2/8762/19)

---

_[View the full topic](https://community.openhab.org/t/oh2-idea-for-dynamic-icons-for-items/17847)._
