This happens when an img have a height attribute.
Height does not update according to width resize.

CommentFileSizeAuthor
#1 img_maintain_ratio-1824144-1.patch700 bytesanrikun

Comments

anrikun’s picture

Status: Active » Needs review
StatusFileSize
new700 bytes

This patch works for me.

echoz’s picture

@anrikun, is this on IE8?
Please see if the patch at #1782090: Responsive images in IE8, height isn't adjusted resolves this for you, thanks.

anrikun’s picture

No I use Firefox. I'll try the patch though and let you know.

johnalbin’s picture

Status: Needs review » Closed (cannot reproduce)

The height of an image resizes just fine for me without the !important.