Picture hidden inside expanding details is not visible

There's a picture inside but you can't see it

3 Likes

Some how, the image width and height are both 0

<a href="http://www.animalsden.com/wp-content/uploads/2010/09/cat-bunny-hat.jpg" target="_blank"><img src="http://www.animalsden.com/wp-content/uploads/2010/09/cat-bunny-hat.jpg" width="0" height="0"></a>

From this markdown

https://meta.discourse.org/t/we-now-support-hidden-and-expanding-text-in-posts/25712

[details=There's a picture inside but you can't see it]http://www.animalsden.com/wp-content/uploads/2010/09/cat-bunny-hat.jpg[/details]
1 Like

I can see it fine in Mobile Safari at least.

Interesting, after removing the onebox above, now I can’t see it! Perhaps a bug for you @zogstrip?

3 Likes

Thanks @Maestra_Powers for reporting that issue. I just pushed a fix :penguin:

https://github.com/discourse/discourse/commit/5d74cadf2feabd347bbcd935ae76d7a471aec006

3 Likes