Transform images on-the-fly using query parameters. Cache headers are sent with the image for browsers to cache the image client-side.
Notice the ?w=800&q=90
at the end of the URL.
Specify width in pixels of the image. If no height (h
) is specified, the image automatically calculates the height to keep the image's aspect ratio.
Query parameter: w
.
Min value | 0 |
Max value | 8192 |
Specify height in pixels of the image. If no width (w
) is specified, the image automatically calculates the width to keep the image's aspect ratio.
Query parameter: h
.
Min value | 0 |
Max height | 8192 |
Specify the quality of the image.
Query parameter: q
.
Min value | 0 |
Max value | 100 |
Specify the preferred format of the requested image.
This parameter can be one of the following values: webp
, png
, jpeg
, auto
. When the auto value is given the image will be transformed to the webp
format if the request header explicitly accepts image/webp
, otherwise the default format will be returned.
Query parameter: f
.
Give the image rounded corners
Query parameter: r
.
This parameter can be either an integer or full
, if the image has to be fully rounded (e.g. an avatar).
Add a Gaussian blur to the image.
Query parameter: b
.
Min value | 0.3 |
Max value | 1000 |