On-the-fly image resizing.
https://edge.talks.co/{path-to-image}?w=300&q=80&fit=cover&gravity=auto
| w | Width in pixels (1-4000) |
|---|---|
| h | Height in pixels (1-4000) |
| dpr | Device pixel ratio multiplier (1-3, default 1) |
| fit | scale-down (default), contain, cover, crop, pad |
| gravity | auto (smart crop), center, north, south, east, west, etc. |
| q | Quality 1-100, default 85 |
| format | avif, webp, jpeg, png — auto from Accept header if omitted |
| bg | Background colour for fit=pad |
| trim | 1 to auto-crop solid-colour borders |