Imgix APIsRendering APISuper ResolutionUpscale If Max Height

Upscale If Max Height

upscale-if-max-h

Conditionally applies Super Resolution when using upscale=true based on the source image’s height.

When the source image height is less than or equal to the specified value, upscaling is applied. If the height exceeds this value, upscaling is not applied.

This is useful when using upscale as a default parameter to ensure super resolution is only applied to images that would benefit from upscaling, optimizing performance and credit usage.

upscale-if-max-h=300
upscale-if-max-h=500