Size
The size governs the size of the output image. A full list of options is available in the Image API specification. Some of the more common ones:
Form | Description |
---|---|
full | The full image (this is renamed max in 3.0) |
w, | Only the width is specified and the server works out the correct height to keep the aspect ratio. Example 500, |
,h | The alternative only specifying the height. Example ,250 |
w,h | Explicit width and height. Note this will distort the image. Example: 250,250 |
!w,h | Fit in a box width by height but don't distort the image. Example !250,250 |
See the examples below: