Resize transformationCDN delivery

preview

Create a sized JPEG preview rendition. Use the .jpg extension for this output.

Delivery URL

This example assumes a published JPEG with automatic WebP output turned off. Replace the workspace placeholder and asset ID with your own.

https://cdn.vyso.io/<your_workspace>/transform/preview:width=1200,upscale=true,quality=82/a1b2c3d4e5f6g7h8i9j0k1l2.jpg

Parameters

Supply width, height or both.

Parameters for preview
ParameterTypeRequiredDescription
widthintegerNoWidth value (min 1, max 16384). Editor default: 1200.
heightintegerNoHeight value (min 1, max 16384).
upscalebooleanNoBoolean value: true or false. Editor default: true.
qualityintegerNoQuality value (min 1, max 100). Editor default: 82.

Examples

Use the same published URL in a request or an image element.

curl --fail --output "output.jpg" "https://cdn.vyso.io/<your_workspace>/transform/preview:width=1200,upscale=true,quality=82/a1b2c3d4e5f6g7h8i9j0k1l2.jpg"

Every example requests the same CDN URL. Use the form that fits the application you are integrating.

Delivery behavior

Delivery orients the image before applying edits. The output extension must match the resulting format. Browsers revalidate public images, and edge caching depends on the workspace deployment’s purge configuration.

Back to all transformations