That little fix might have worked in previous versions, but with K2 v2.5.7 it doesn't work. The variables $height and $width as obtained by that code are both empty, so they always equal each other, rendering no change, no matter what the aspect ratio. Is there any way to update that little hack?