Cover

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

func=cover

The cover resize mode does not keep proportions and might distort your original image. This mode should be used carefully.

Original image, resized to 400px width

/v7/sample.li/tesla.jpg?w=400

Image stretched to a 400x400px box

/v7/sample.li/tesla.jpg?w=400&h=400&func=cover