Generate a derivative on the fly with a transformation (such as cropping, scaling, filling) applied to it. More information about this feature can be found in our Knowledge Base item. Image operations can be passed as io parameters in the form of transform:{operation},{param1}:{value1},{param2}:{value2},.... It's possible to specify several operations: ?io={operation1}&io={operation2}&.... The operations will be applied in the same order they are passed in the url. These are the possible image operations and their parameters:
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
We’re moving to a new Developer Portal!We are building a brand-new home for our API documentation to bring you a better developer experience. These current docs will remain fully supported until the transition is complete, so stay tuned for updates!
| Operation | Parameter | Possible values |
|---|---|---|
background | color | Color name (yellow, black, etc.) or hexadecimal (rgb, rrggbb) |
crop | width | integer |
| height | integer | |
| x | integer | |
| y | integer | |
| gravity | topleft / top / topright / left / center / right / bottomleft / bottom / bottomright | |
| shape | circle / square | |
| blur | integer | |
| background | Color name (yellow, black, etc.) or hexadecimal (rgb, rrggbb) | |
extend | width | integer |
| height | integer | |
| background | Color name (yellow, black, etc.) or hexadecimal (rgb, rrggbb) | |
fill | width | |
| height | ||
| gravity | ||
| aspectratio | (integer) x (integer) | |
fit | width | integer |
| height | integer | |
flip | (no parameters) | |
mirror | (no parameters) | |
rotate | angle | integer between 0 and 360 |
| background | Color name (yellow, black, etc.) or hexadecimal (rgb, rrggbb) | |
scale | width | integer |
| height | integer |
400Image Operation not supported
404Not Found
