On-the-fly Resize
Append transformation parameters directly to your image URL — no extra API calls needed. Resize, crop, and control quality on demand.
URL Transform Syntax
https://storage.googleapis.com/bucket/users/uid/image.webp?w=800&h=600&q=80&fit=cover
Parameters
| Parameter | Type | Description |
|---|---|---|
w | Number | Output width in pixels. |
h | Number | Output height in pixels. |
q | Number (1-100) | Quality level. Default: 85. |
fit | String | cover, contain, fill, inside, outside |
format | String | webp (default), jpeg, png |
Examples
# Resize to 800px wide, auto height
https://cdn.imgnodus.com/image.webp?w=800
# Square crop for avatar (200x200, cover fit)
https://cdn.imgnodus.com/image.webp?w=200&h=200&fit=cover
# Thumbnail with reduced quality
https://cdn.imgnodus.com/image.webp?w=300&h=200&q=60
💡 On-the-fly transforms are cached at the CDN edge. The first request generates the variant; subsequent requests are served instantly from cache.