# Change style background image dynamically

**URL:** <https://forum.ionicframework.com/t/change-style-background-image-dynamically/52002>\
**Category:** ionic-v3\
**Created:** [May 13, 2016, 8:37pm UTC](https://forum.ionicframework.com/t/change-style-background-image-dynamically/52002 "2016-05-13T20:37:21Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![dtaalbers](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/dtaalbers/32/125432_2.png) [@dtaalbers](https://forum.ionicframework.com/u/dtaalbers)\
**Post date:** [June 6, 2016, 5:09am UTC](https://forum.ionicframework.com/t/change-style-background-image-dynamically/52002/7 "2016-06-06T05:09:30Z")

</div>

This has been working for me with beta 7

```
[ngStyle]="{'background-image': 'url(' + your url + ')'}"
```

---

_[View the full topic](https://forum.ionicframework.com/t/change-style-background-image-dynamically/52002)._
