Maximum Width max-w

The maximum allowed width 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 horizontally-scrolling feeds that display user-uploaded images. By specifying a maximum width for each image, users are prevented from accidentally (or intentionally) breaking the user experience of the site or app by uploading incredibly wide, short images.

fit=crop&h=200&max-w=1200
Max width 1200px, not cropped
fit=crop&h=200&max-w=200
Max width 200px, cropped

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