Constraining image height to maintain aspect ratio.