I agree. Added to my list
I’ve noticed some odd scaling problems with an xkcd onebox link on my instance. Testing if it happens here as well (and if so, there’s a weird scaling issue with xkcd onebox embeds! ).
The good news is, on email the ratio is correct.
I think it is fixed in latest master. Just tested it.
It looks like the xkcd image dimensions are swapped.
i.e. height is assigned to width and width is assigned to height.
Is the same onebox code used for both flickr and xkcd?
This is still a problem for Flickr’s shortened URL’s. Example:
This appears to still be a problem with xkcd links for instance:
(The preview does show the correct aspect).
Here is the rendered result just now:
It is due to fixed height requirement on onebox, @zogstrip has it on his list.
Awesome, thank you very much (both for this and in general. )!
I have fixes for the XKCD and Flickr shortened URLs in the latest builds of Discourse!