Skip to content
Tonkku edited this page Jan 19, 2022 · 2 revisions

The CDX system delivers resized and re-encoded images to be displayed on the website.

Get resized image

GET cdx.monstercat.com

Query String Params

Field Type Description
width integer Width of the image (supported: webp: 300, 600, 1024, jpeg: 3000)
encoding string Encoding of the image (supported: webp, jpeg)
url string URL for the original image

Response

Redirects to the resized image under cdx.monstercat.com/resized/{id}/{width}.{encoding}.
If the width and encoding pair are not supported, redirects to the original URL instead.

Clone this wiki locally