Offload, AI & Optimize with Cloudflare Images


Offload your media library to Cloudflare Images and let it handle everything for you – store, resize, optimize and deliver images in the best possible format to your users.

Why Overpay for CDN Plugins?

With the avalanche of expensive plugins out there, it’s time to switch to a smarter choice. Why should you pay more for something that deserves to be free?

Simplify Your Image Management

Offload your media library to Cloudflare Images! Let our plugin take charge:

  • Store your images securely;
  • Resize images to perfection without any manual hassle;
  • Optimize them to ensure they load blazingly fast;
  • Deliver in the most user-friendly format, ensuring satisfaction at every user’s end.

But wait, there’s more!

Image AI – tag, caption and generate new images using AI.
Compression – optimize JPEG/PNG images to decrease file size without compromising visual quality.

A Developer’s Promise

Born from personal need, this plugin represents a developer’s dedication to the community. While it’s still a work in progress, remember – it’s crafted with real user needs in mind, not profit.

Your Feedback Makes Us Better

Found a hiccup? Yearning for a feature? Just shoot us a support request. Our commitment is to continually evolve to serve you better. Your wish is our command!


Cloudflare, the Cloudflare logo, and Cloudflare Workers are trademarks and/or registered trademarks of Cloudflare, Inc. in the United States and other jurisdictions.


  • Plugin options and settings
  • Plugin AI modules
  • Quick and easy setup wizard


  1. Upload the plugin to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Follow the instructions in the setup wizard through the ‘Media – Offload Settings’ menu in WordPress
  4. Enjoy


How does this work?

The plugin will use the Cloudflare Images service to host all supported images and serve them with the best possible settings to the user.

Is this free?

Yes, the plugin is 100% free. A Cloudflare account with activated Cloudflare Images option is required.
Cloudflare may charge a fee for the use of this feature, depending on the plan used.

What are the supported image formats?

You can upload the following image formats to Cloudflare Images:
* WebP

Are there any other limitations?

These are the maximum allowed sizes and dimensions Cloudflare Images supports:

  • Images’ height and width are limited to 10,000 pixels.
  • Image metadata is limited to 1024 bytes.
  • Images have a 10 megabyte (MB) size limit.
  • Animated GIFs, including all frames, are limited to 100 megapixels (MP).

Why are not all images being replaced in content?

By default, the plugin relies on WordPress core functions to process images.
Some themes and plugins can implement their own image processing functions, which can prevent the plugin from replacing the image URLs in content. If you are experiencing this, try to enable the Parse page for images module in the plugin settings.
If something is still not working for you, please let me know by creating a support ticket on the plugin support forums.


11 de noviembre de 2023 1 reply
The Cloudflare Images plugin has been a fantastic addition to my website management toolkit. It simplifies image handling remarkably, handling everything from storage to optimization. What really stands out is the developer's commitment to support and continuous improvement. It's refreshing to see a developer so responsive to user feedback, making this plugin not just a tool, but a reliable asset for any website owner. Kudos to the Anton for their exceptional work!
30 de agosto de 2023 1 reply
The plugin works great and is the only working option to use cloudflare images with wordpress. the problem is cloudflare images is just too damn expensive for a high traffic site when comparing to S3 or even cloudflare R2 (which i believe should be an option here instead of storing on images)
31 de julio de 2023 1 reply
What to say... this is what Cloudfare should have developed years ago. This plugin is amazing and the author is the main reason for that. Thanks!
Leer todas las 21 reseñas

Colaboradores y desarrolladores

«Offload, AI & Optimize with Cloudflare Images» es un software de código abierto. Las siguientes personas han colaborado con este plugin.


«Offload, AI & Optimize with Cloudflare Images» ha sido traducido a 1 idioma local. Gracias a los traductores por sus contribuciones.

Traduce «Offload, AI & Optimize with Cloudflare Images» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.6.0 – 12.11.2023

* Generate images with AI
* Logging module
* Images in media library can now be sorted by offload status
* Integration with ShortPixel
* Compatibility option to store credentials in the database

* Increase timeout to 15 seconds when offloading images

* Bulk processing stops if an image triggers an error during upload
* Settings resetting on update after using a beta version

1.5.1 – 28.10.2023

* Do not replace images on wp-admin if full offload module is disabled

1.5.0 – 27.10.2023

* New and improved React-based UI
* Image compression module: optimize the size of your media library images
* WP CLI support via the «wp cf-images» commands (bulk & individual offload)
* Compatibility with the «Enable Media Replace» plugin
* Option to bulk add image captions
* Allow viewing a page with original images, using a «?cf-images-disable=true» URL query

* The «Auto resize images on front-end» module has been refactored to prevent double loading of images

* Cropped image detection
* Compatibility with latest WordPress coding standards
* PHP warnings with page parser module on pages with no images
* Link for adding API key for AI module was not working

1.4.1 – 21.08.2023

* Cannot log in Image AI module without activating it first
* Handling of images with «scaled» in the file name

1.4.0 – 09.08.2023

* Image AI – tag and caption your images with AI
* Page parser module
* Compatibility with Breakdance builder (via page parser module)
* Compatibility with WMPL

* Improved detection of image sizes
* Media UI refactored for better accessibility

* Issues with lazy loading
* When full offload is enabled, images are not displaying on front-end
* Removing of scaled images

1.3.0 – 24.06.2023

* Full offload and restore for images from the WordPress media library [beta]
* ACF integration
* Option to remove selected images from Cloudflare
* Preconnect to CDN URL

* Improved internal plugin structure
* Improved media library status layout
* Improved media library UI

* Scaled images offloaded instead of originals
* Fatal error when uninstalling the plugin
* Error when image metadata is not an array
* Images not served via CDN if a custom size is used

1.2.0 – 29.03.2023

* Auto image sizes on front-end
* Option to use custom paths for images
* Confirmation modal for bulk remove action
* Offload status to media library grid mode
* Detailed setup guide link in the setup wizard

* Improved descriptions for the plugin settings
* Improve settings layout
* Intentionally sleep for a second after setup to allow the PHP cache to expire on setup/disconnect
* Various UI/UX improvements

* Properly handle already uploaded images and duplicates
* Prevent replacing images in wp-admin, because WordPress does not respect is_admin() checks
* Scaled images having an empty ‘w’ parameter

1.1.5 – 28.02.2023

* Integration with RankMath Image SEO module
* Integration with Multisite Global Media plugin
* Option to disable async image offloading

* Store the Cloudflare image hash in network options on multisite installs
* Code refactor to be fully compatible with WordPress coding standards

* RankMath image titles not working properly with Cloudflare images
* TypeError in get_attachment_image_src method
* Removed debug code

1.1.4 – 29.01.2023

* Links in readme.txt file

1.1.3 – 29.01.2023

* Compatibility with «Spectra – WordPress Gutenberg Blocks» plugin
* cf_images_upload_meta_data filter to allow customizing the metadata sent to Cloudflare Images

* Improve detection of image sizes, fallback to scaled image dimensions
* Improved compatibility with RankMath – og:image tags will not be converted to Cloudflare Image URLs

* Image file names on subdirectory multisite installs

1.1.2 – 19.11.2022

* Support for WooCommerce bulk product uploads
* Allow defining a custom domain for the Cloudflare Images service
* Option to skip images in media library from offloading
* Button to disconnect from Cloudflare

* On network installs, plugin can now only be activated on the network level
* When bulk uploading, if no metadata is found for an image – skip the image, instead of failing the whole process
* Minor UI/UX improvements
* Improved compatibility with WordPress 6.1

* Settings redirect to media library after saving

1.1.1 – 24.10.2022

* Improved button styling
* Allow skipping the setup wizard with CF_IMAGES_ACCOUNT_ID and CF_IMAGES_KEY_TOKEN defines

* Argument #1 ($metadata) must be of type array, bool given error

1.1.0 – 09.09.2022

* Global API stats
* Option to disable auto offload
* New and improved UI
* New plugin icon

* Remove autocomplete for setup form fields
* Incorrect stats calculations
* Reset image stats, when no offloaded images found in media library
* Offloading images on servers with outdated SSL libraries

1.0.3 – 05.09.2022

* Fatal error in rare cases


* Support for scaled images
* Detect API key changes or other auth issues

* Improve code quality

* Do not replace images on the editor


* Image statistics

* Better handling of unsupported media types
* Improve UI and UX

* Failed bulk offload if an image path is not defined in metadata
* PHP fatal error with Spectra plugin
* Incorrect status during bulk offload


First release
* Offload images to Cloudflare Images
* Option to disable WordPress image sizes
* Support for custom domains