Skip to main content
Magnify a region of an image with the z_ parameter. Zoom is applied before other transformations, so it changes the effective crop area you then resize or crop.
z_ accepts a factor from 1.0 (original) to 5.0 (maximum magnification). Values above 1.0 zoom in. Pair zoom with a crop mode so the magnified image still lands on your target dimensions.

How does it work?

You add z_{factor} to the transform segment. Autorender magnifies the image around its center — or a position you choose — and then applies the rest of the transforms in the URL. Because zoom runs first, c_crop or c_fill acts on the zoomed frame.
Original image
The examples above crop to 360×360 px (w_360,h_360) after zooming.
A zoom factor above 2.0 on a low-resolution source degrades the output, because there are not enough source pixels to fill the magnified frame. Start from a high-resolution source for factors above 2.0.

How to control where the zoom focuses?

Combine z_ with the position parameter p_ to move the zoom focal point away from center.
Top zoom
For hero images, use a subtle zoom in the 1.11.3 range to draw the eye to the subject without visibly cropping the frame.

Next steps

Crop

Pair zoom with c_crop or c_fill to hold your target dimensions.

Resize and aspect ratio

Set the width and height the zoomed image renders at.

Automatic format

Serve WebP or AVIF with f_auto to hold quality on magnified detail.

Recipes

Save zoom combinations as reusable t_ tokens.