Cloudflare Image Resize support

In Servebolt Optimizer for WordPress we include a feature which implements the necessary filters in WordPress to make use of Cloudflare’s Image Resize feature. The Image Resize feature in Cloudflare dynamically and automatically resizes your images based on the fly.

This feature, in combination with the srcset parameter on <img> tags in HTML makes browsers load the best image size for the visitors browser size.

To activate the Cloudflare Image Resize feature in Servebolt Optimizer you must set a constant in your wp-config.php like this:


You can read more about the Image Resize feature in the announcement post at the Cloudflare Blog.

On what plans is Cloudflare Image Resize support available?

Cloudflare Image Resize support is available if you have one of the following plans:

  • Servebolt Cloudflare Business

If you want the Cloudflare Image Resize support feature and are not on one of these plans, please have a chat with our customer success team and they will do their best to accommodate you.

Give us your feedback on this article