On-the-fly image resizing.
https://edge.talks.co/{path-to-image}?w=300&q=80&fit=cover&gravity=auto
| w | Width in pixels — snapped up to the nearest of 56, 82, 112, 150, 296, 600, 1200 |
|---|---|
| h | Height in pixels — scaled with the snapped width to preserve the requested aspect ratio (snapped to the ladder if given without w) |
| dpr | Device pixel ratio multiplier (1-3, default 1), applied before snapping |
| fit | scale-down (default), contain, cover, crop, pad |
| gravity | auto (smart crop), center, north, south, east, west, etc. |
| q | Quality 1-85, default 85 |
| format | avif, webp, jpeg, png — auto from Accept header if omitted (auto picks webp/jpeg only; avif must be explicit) |
| bg | Background colour for fit=pad |
| trim | 1 to auto-crop solid-colour borders |