Offload, AI & Optimize with Cloudflare Images

Description

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 CDN – deliver images from a global network of servers.
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!

Disclaimer

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

Sponsors

Special thanks to the plugin sponsors:

WordPress Agency this:matters

Screenshots

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

Installation

  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

FAQ

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:
* PNG
* GIF
* JPEG
* 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.

Reviews

March 12, 2024 1 reply
Super awesome plugin...found this after tried several other plugins including wp-offload which is a total rip-off crap. I was looking to develop such a plugin myself just to find this guy did it and gave it away for free. Well done, sir! I recommend the pro features as well.
January 22, 2024 3 replies
I installed and setup this plugin and CF images which was the first time using either and it was super smooth. I personally need the features talked about in the PRO version, like auto-deleting the file locally after upload, as my use case is saving server space. Currently, that is a manual step, which isn't feasible with 20k+ images. Otherwise, great stuff.
December 25, 2023 1 reply
Been using it for a while, offloading is great. Highly Recommended!
December 1, 2023 1 reply
Really wanted to like this as it seems to be the only plugin to get Cloudflare Images resizing working, but I've never gotten it to successfully communicate with Cloudflare and even with it's logs feature it's very very fussy and difficult to debug. It'll gladly act like your API key is valid when it isn't and look like it's processing but it isn't. Mine's stuck in a state of 8 images offloaded (really zero) and even the cloudflare global API key won't actually allow it to login. Really hope it gets improved because it's a great idea, but it's absolutely not turnkey
Read all 25 reviews

Contributors & Developers

“Offload, AI & Optimize with Cloudflare Images” is open source software. The following people have contributed to this plugin.

Contributors

“Offload, AI & Optimize with Cloudflare Images” has been translated into 2 locales. Thank you to the translators for their contributions.

Translate “Offload, AI & Optimize with Cloudflare Images” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.9.0 – 22.03.2024

Added:
* Set browser TTL for images
* Option to serve originals for logged-in users
* Option to apply settings network wide in multisite

Changed:
* Disable logging in wp-admin
* Improve detection of cropped images
* Fallback to scaled images if original image is larger than 20 Mb

Fixed:
* Image size can now be changed in the Gutenberg image block for fully offloaded images
* Full size images not replaced in the gallery block on expand
* Multiple fixes and improvements with the WPML integration

1.8.0 – 16.02.2024

Added:
* Support for RSS feeds
* Auto crop option. If an image width matches the image height – auto crop the image.
* Use img width size. New option that allows using the img width attribute value for the image size, if the value is smaller than the requested image.
* Bulk remove files from the media library.
* Bulk restore files to the media library.

Fixed:
* Page parser will now add the wp-image-* class to images that do not have it
* Page parser not detecting images that have a custom title set in the media library

1.7.1 – 31.12.2023

Fixed:
* Fatal error on plugin uninstall
* Do not bulk offload SVG images
* Compatibility with Gutenberg Interactivity API
* Type error when fetching image hashes

1.7.0 – 03.12.2023

Added:
* Bunny CDN integration
* Service tools module – reset ignored images
* Custom URLs module – control your image links
* Track stats for images served via Cloudflare Images
* REST API integration module

Changed:
* UI/UX improvements

Fixed:
* Notices getting injected into plugin navigation
* Do not expose internal methods to WP CLI commands
* WP CLI command only processing the first 10 images
* Auto resize feature using incorrect descriptors
* Page parser not replacing all images
* Expand on click functionality

1.6.0 – 12.11.2023

Added:
* 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

Changed:
* Increase timeout to 15 seconds when offloading images

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

Full changelog.