Rendering API
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.
fit=crop&w=300&max-h=1200
Max height 1200px, not cropped

fit=crop&w=300&max-h=300
Max height 300px, cropped

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