# User card backgrounds don't serve from CDN domain

**URL:** https://meta.discourse.org/t/user-card-backgrounds-dont-serve-from-cdn-domain/24512
**Category:** Bug
**Created:** [2015年一月28日 03:27 UTC](https://meta.discourse.org/t/user-card-backgrounds-dont-serve-from-cdn-domain/24512 "2015-01-28T03:27:55Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![grrowl](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/grrowl/32/115451_2.png) [@grrowl](https://meta.discourse.org/u/grrowl)
#### Post date: [2015年一月28日 03:27 UTC](https://meta.discourse.org/t/user-card-backgrounds-dont-serve-from-cdn-domain/24512/1 "2015-01-28T03:27:55Z")

</div>

In the User card hover, the avatar serves from the CDN domain, but the background on #user-card does not (serves from the regular domain)

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [2015年一月28日 05:39 UTC](https://meta.discourse.org/t/user-card-backgrounds-dont-serve-from-cdn-domain/24512/2 "2015-01-28T05:39:18Z")

</div>

We should fix this @zogstrip.

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [2015年一月28日 06:06 UTC](https://meta.discourse.org/t/user-card-backgrounds-dont-serve-from-cdn-domain/24512/3 "2015-01-28T06:06:31Z")

</div>

The User Profile backgrounds are not served from CDN either:  
 ![](https://global.discourse-cdn.com/meta/original/3X/5/9/595a3922f904844fd2ff0abc2fd432ea8283c992.png)

---

<div class="post-metadata">

### Author: ![DeanMarkTaylor](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/deanmarktaylor/32/102462_2.png) [@DeanMarkTaylor](https://meta.discourse.org/u/DeanMarkTaylor)
#### Post date: [2015年一月28日 06:15 UTC](https://meta.discourse.org/t/user-card-backgrounds-dont-serve-from-cdn-domain/24512/4 "2015-01-28T06:15:42Z")

</div>

###Quoted Profile images  
And some of the quoted profile images:

 ![](https://global.discourse-cdn.com/meta/original/3X/7/b/7b2f3200ccd7074adf3a78f116ef39bb2f34be82.png)  
[https://meta.discourse.org/t/json-codes-doesnt-always-execute/24360/8](https://meta.discourse.org/t/json-codes-doesnt-always-execute/24360/8)

###JavaScript  
And also this JavaScript file is included from somewhere:  
[https://meta.discourse.org/javascripts/jquery.magnific-popup-min.js](https://meta.discourse.org/javascripts/jquery.magnific-popup-min.js)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2015年一月29日 22:14 UTC](https://meta.discourse.org/t/user-card-backgrounds-dont-serve-from-cdn-domain/24512/5 "2015-01-29T22:14:29Z")

</div>

Thank you both @grrowl & @DeanMarkTaylor for reporting these issues. It’s now fixed 🐼

[https://github.com/discourse/discourse/commit/6a68e8c27284b542e344ea3b1a8d81311b62e39c](https://github.com/discourse/discourse/commit/6a68e8c27284b542e344ea3b1a8d81311b62e39c)

**NOTE:** The quoted profile images requires a global rebake.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2015年一月29日 22:14 UTC](https://meta.discourse.org/t/user-card-backgrounds-dont-serve-from-cdn-domain/24512/6 "2015-01-29T22:14:31Z")

</div>


