# Broken image on local onebox content

**URL:** https://meta.discourse.org/t/broken-image-on-local-onebox-content/35052
**Category:** Support
**Tags:** onebox
**Created:** [October 29, 2015, 11:53am UTC](https://meta.discourse.org/t/broken-image-on-local-onebox-content/35052 "2015-10-29T11:53:12Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![limeblast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/limeblast/32/31296_2.png) [@limeblast](https://meta.discourse.org/u/limeblast)
#### Post date: [October 29, 2015, 11:53am UTC](https://meta.discourse.org/t/broken-image-on-local-onebox-content/35052/1 "2015-10-29T11:53:12Z")

</div>

I’ve noticed this as an issue for a while now, but have mostly ignored it until now.

When using onebox to display local content (such as another post within the forum), there is a broken image shown next to the title:

 ![](https://global.discourse-cdn.com/meta/original/3X/d/d/dddc1b211d2b9e9536f90d4893a112b0d6178aa3.png)

I think I can even demonstrate this here:

[https://talk.birmingham.io/t/feedback-on-noname-startup/2076?u=limeblast](https://talk.birmingham.io/t/feedback-on-noname-startup/2076?u=limeblast)

The html for the image is:

```
<img src="" class="thumbnail" height="" width="">

```

Any ideas?

---

<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: [October 30, 2015, 1:35am UTC](https://meta.discourse.org/t/broken-image-on-local-onebox-content/35052/2 "2015-10-30T01:35:32Z")

</div>

@techapj can you have a look?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [October 30, 2015, 3:06am UTC](https://meta.discourse.org/t/broken-image-on-local-onebox-content/35052/3 "2015-10-30T03:06:31Z")

</div>

I am not able to repro this issue on try or here on meta.

---

<div class="post-metadata">

### Author: ![limeblast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/limeblast/32/31296_2.png) [@limeblast](https://meta.discourse.org/u/limeblast)
#### Post date: [October 30, 2015, 8:48pm UTC](https://meta.discourse.org/t/broken-image-on-local-onebox-content/35052/4 "2015-10-30T20:48:09Z")

</div>

> [@techAPJ](#):
>
> I am not able to repro this issue on try or here on meta.

Can you not see the issue in the post above? I’m literally seeing the broken image right now here on meta.

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [October 30, 2015, 9:09pm UTC](https://meta.discourse.org/t/broken-image-on-local-onebox-content/35052/5 "2015-10-30T21:09:52Z")

</div>

> [@limeblast](#):
>
> I’m literally seeing the broken image right now here on meta.

That’s from an external site,

But this does work here (internal)  
[https://meta.discourse.org/t/british-terms-of-service/31295/4?u=mittineague](https://meta.discourse.org/t/british-terms-of-service/31295/4)

External (SitePoint)  
[http://community.sitepoint.com/t/determining-actual-encoding-of-the-document-when-ide-disagrees-with-utf-8/206024/5?u=mittineague](http://community.sitepoint.com/t/determining-actual-encoding-of-the-document-when-ide-disagrees-with-utf-8/206024/5?u=mittineague)

---

<div class="post-metadata">

### Author: ![limeblast](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/limeblast/32/31296_2.png) [@limeblast](https://meta.discourse.org/u/limeblast)
#### Post date: [November 2, 2015, 11:22am UTC](https://meta.discourse.org/t/broken-image-on-local-onebox-content/35052/6 "2015-11-02T11:22:56Z")

</div>

That external link has a broken image.

 ![](https://global.discourse-cdn.com/meta/original/3X/a/7/a742610c8afc65ee66eb3868b99a1055f04c7e57.png)

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [November 2, 2015, 4:38pm UTC](https://meta.discourse.org/t/broken-image-on-local-onebox-content/35052/7 "2015-11-02T16:38:31Z")

</div>

Okay, I can repro this on latest Firefox. Looking into it now.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [November 2, 2015, 7:30pm UTC](https://meta.discourse.org/t/broken-image-on-local-onebox-content/35052/8 "2015-11-02T19:30:41Z")

</div>

Fixed 🐜

[https://github.com/discourse/onebox/commit/765434fe94b08c3e1d5d021f23c99d5cdca2bc98](https://github.com/discourse/onebox/commit/765434fe94b08c3e1d5d021f23c99d5cdca2bc98)

---

<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: [November 2, 2015, 8:31pm UTC](https://meta.discourse.org/t/broken-image-on-local-onebox-content/35052/9 "2015-11-02T20:31:38Z")

</div>


