Make the height in the CSS equal to that of the image