Html Image Resize Mode. You can also resize an image through css as shown in the examples below. To override any already present height attribute on the image.
In the first example the actual size in pixels is specified for width and height. To override any already present height attribute on the image. The max height property sets the maximum height of an element and the max width property sets the maximum width of an element.
Width 700px img alt that image style max height 100.
Width 700px img alt that image style max height 100. If you set both to 100 the image will be stretched. In the first example the actual size in pixels is specified for width and height. You can do this with the height and width.