# Cover

Resizes the image to a specified **width** and **height** without keeping the original proportions and delivers the resulting image via CDN.

<mark style="color:orange;">**func=cover**</mark>

{% hint style="info" %}
The **cover** resize function does not keep proportions and might distort your original image. This mode should be used carefully.
{% endhint %}

## Examples

| Preview                                                                                            | Syntax                                                                                                                                                                                                                                                                                     |
| -------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ![](https://content.gitbook.com/content/IDIcmPiz7q6Sr6ZHHQxV/blobs/9qX3HfH73jmgLBUGP1Cg/image.png) | [/samples.scaleflex.com/tesla.jpg?<mark style="color:orange;">**width=400**</mark>](https://doc.cloudimg.io/https://samples.scaleflex.com/tesla.jpg?width=400)                                                                                                                             |
| ![](https://content.gitbook.com/content/IDIcmPiz7q6Sr6ZHHQxV/blobs/SvbiLRHpbaKJoK6nbxHp/image.png) | [/samples.scaleflex.com/tesla.jpg?<mark style="color:orange;">**width=400**</mark>&<mark style="color:orange;">**height=400**</mark>&<mark style="color:orange;">**func=cover**</mark>](https://doc.cloudimg.io/https://samples.scaleflex.com/tesla.jpg?width=400\&height=400\&func=cover) |
