Fixed html file and css to resize the image with max-height in the css file.