Docs

Image Transformation

Transfer images on-the-fly using query parameters. Cache headers are sent with the image for browsers to cache the image client-side.

#Example

https://backend-d32l5h6l.nhost.app/storage/o/public/example.jpg?w=800&q=90

Notice the ?w=800&q=90 at the end of the URL.

#Width

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 value0
Max value8192

#Height

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 value0
Max height8192

#Quality

Specify the quality of the image.

Query parameter: q.

Min value0
Max value100