media image can be resized by height (without width)