# StackBlur backgrounds

**URL:** <https://meta.discourse.org/t/stackblur-backgrounds/79344>\
**Category:** Theme component\
**Tags:** broken\
**Created:** [January 30, 2018, 6:27am UTC](https://meta.discourse.org/t/stackblur-backgrounds/79344 "2018-01-30T06:27:31Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![Firsh](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firsh/32/454861_2.png) [@Firsh](https://meta.discourse.org/u/Firsh)\
**Post date:** [October 12, 2024, 10:19am UTC](https://meta.discourse.org/t/stackblur-backgrounds/79344/10 "2024-10-12T10:19:34Z")

</div>

Seems promising, but I get:  
Uncaught ReferenceError: assignment to undeclared variable img

```plaintext
          var blur = $("#background_b").data("blur");
          img = new Image();
          c = document.getElementById("background_b");
          ctx = c.getContext("2d");
          w = window.innerWidth;
          h = window.innerHeight;

```

I think you meant to use commas instead of semicolons here.

---

_[View the full topic](https://meta.discourse.org/t/stackblur-backgrounds/79344)._
