h Image Height
The height of the output image. Must be a positive integer or a float between
h parameter is a float between
1.0, the value is interpreted as a ratio in relation to the source image size. For example, a
h parameter set to
1.0 will result in the same output image height as the input, whereas a
h value of
0.5 will result in an output image half the height of the input image.
If only one dimension is specified, the other dimension will be calculated according to the aspect ratio of the input image. If both width and height are omitted, then the input image’s dimensions are used.
fit parameter is set to
max, then the actual output height may be equal to or less than the dimensions you specify.
Note: The maximum output image size on imgix is 8192×8192 pixels. All output images will be sized down to accomodate this limit.
If you’d like to resize using only
h, please use
fit=clip to ensure that the other dimension will be accurately calculated.