Images and variants
Every image in the media library can be requested as a named variant. Add the ?v=<variant-name> parameter to the image URL. The original file is never changed, and a variant is generated the first time it is requested. Variants are managed in Settings, Media, Variants.
Couldn't load image variantsThe snippets below still work. The variant list and the URL builder need a connection.
Try again
No image variants yetUntil you add a variant, the ?v= parameter is not accepted and every request returns the original image.Go to image variants
No image variants yetAsk an owner or admin to add one. Until then, every request returns the original image.
Variants
{{ countText }}
NameDimensionsFormatExample URL
{{ r.n }}{{ r.dim }}{{ r.fmt }}{{ r.url }}
Disabled variants are not served. A request for one returns 400 "Unknown variant".
URL builder
Image{{ image }}
Variant{{ vname }}
URL
The variant "hero" no longer existsThere is no fallback to the original. Requests with ?v=hero return status 400 with the body {{ fallbackBody }}. Remove the parameter to get the original image, or pick another variant.
Preview
{{ previewLabel }}
Responses
{{ r.req }}{{ r.st }}{{ r.res }}{{ r.body }}