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.
/cdn-cgi/image/width=250,quality=75/img/munich-img-1.jpeg
/cdn-cgi/image/fit=scale-down,width=420/img/munich-img-1.jpeg
/cdn-cgi/image/fit=cover,g=0.5x0.5,w=100,h=280/img/munich-img-1.jpeg
/cdn-cgi/image/dpr=2,f=auto,w=100,h=260/img/munich-img-1.jpeg
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.