Enable flexible variants
Flexible variants allow you to create variants with dynamic resizing which can provide more options than regular variants allow. This option is not enabled by default.
- Log in to the Cloudflare dashboard ↗ and select your account.
- Select Images > Variants.
- Enable Flexible variants.
Make a PATCH
request to the Update a variant endpoint.
After activation, you can use transformation parameters on any Cloudflare image. For example,
https://imagedelivery.net/{account_hash}/{image_id}/w=400,sharpen=3
Note that flexible variants cannot be used for images that require a signed delivery URL.