Broken image on local onebox content

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:

I think I can even demonstrate this here:

The html for the image is:

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

Any ideas?

1 Like

@techapj can you have a look?

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

1 Like

Can you not see the issue in the post above? 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

External (SitePoint)

1 Like

That external link has a broken image.

1 Like

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

2 Likes

Fixed :ant:

https://github.com/discourse/onebox/commit/765434fe94b08c3e1d5d021f23c99d5cdca2bc98

7 Likes