Maximum Height max-h

The maximum allowed height of the output image.

Must be an integer greater than 0. This parameter will only work if fit=crop is present.

This feature is particularly useful for vertically-scrolling feeds that display user-uploaded images. By specifying a maximum height for each image, users are prevented from accidentally (or intentionally) breaking the user experience of the site or app by uploading incredibly tall, skinny images.

Max height 1200px, not cropped
Max height 300px, cropped

See the API specification for more information about this parameter's value ranges and format.