Image Resizing

You can use Cloudflare Image Resizing with either a pre-defined URL format or with Cloudflare Workers, for advanced use-cases.

Here is the original image used in this example, and below that you’ll find different options for the pre-defined URL format method.

munich img-1.jpeg

Image characteristics: 3 MB in size, 2419w x 3226h px, 72 resolution.

/img/munich-img-1.jpeg

/cdn-cgi/image/width=250,quality=75/img/munich-img-1.jpeg

munich isar river 1

/cdn-cgi/image/fit=scale-down,width=420/img/munich-img-1.jpeg

munich isar river 2

/cdn-cgi/image/fit=cover,g=0.5x0.5,w=100,h=280/img/munich-img-1.jpeg

munich isar river 1

/cdn-cgi/image/dpr=2,f=auto,w=100,h=260/img/munich-img-1.jpeg

munich isar river 2

Let’s talk!

Disclaimer

The information contained on this website is for general information and educational purposes only. This website is not affiliated with the company Cloudflare, nor does it represent Cloudflare in any way.