Offload, AI & Optimize with Cloudflare Images

Skildring

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

Skjermbilete

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

Installasjon

  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

Vanlege spm.

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.

Omtalar

26. mai 2024 1 reply
This is a well deserved 5 ⭐️ review because the developer built a flawless integration with the Cloudflare Images API. For the benefit of those on Rocket.net hosting, as I am, I’ll leave some notes on my experience. In frank confession, I’m no perf expert, so I could absolutely be off base here, and not even realize it. Rocket had previously announced auto-image resizing via CF Images as a platform feature; but this was subsequently rolled back, and the reasons for the rollback were never given. So, I decided to attempt implementing this myself; and this plugin made the integration seamless. Here’s what my dev tools network panel tests uncovered: Rocket’s CF configuration does not serve AVIF, only WebP; whereas this integration successfully serves AVIF. Rocket’s CF configuration results in less image compression than what this direct integration achieves. However, even with inferior compression, and no serving of AVIF, Rocket’s CF configuration manages to somehow beat the millisecond load time per image by orders of magnitude. I chatted in with Rocket’s unparalleled tech support to get schooled on why this is, and I’m paraphrasing and adding embellishments, but the reasons for this are twofold: Rocket apparently has a special relationship with Cloudflare Enterprise, so they get über-priority treatment on the network. Then add CF Enterprise full-page caching to the above fact that your visitors are getting served from the edge-of-the-edge network priority afforded by Rocket. As I said, I’m no perf expert, so I don’t feel the need to back any of this up with screenshots, or any other evidence. Please take this information only as prompting to do your own network panel tests. In the end, I removed all images from Cloudflare Images API that were offloaded via this plugin, deactivated, and uninstalled; then went with ShortPixel for AVIF. As regards the dynamic auto-resizing that I was after, I’m just gonna have to go over all the markup and manually insert the proper thumbnail (tedious manual work I was hoping to avoid, and what started me down this rabbit hole). Peace to the dev; and happy hacking to all.
12. mars 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.
22. januar 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.
25. desember 2023 1 reply
Been using it for a while, offloading is great. Highly Recommended!
1. desember 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
Les alle 26 omtalar

Bidragsytarar og utviklarar

“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” er omsett til 2 språk. Takk til omsetjarane for bidraga deira.

Omset “Offload, AI & Optimize with Cloudflare Images” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.

Endringslogg

1.9.1 – 23.04.2024

Added:
* Integration with Elementor lightbox

Fixed:
* NaN undefined error in compression savings stats
* AI image captioning when custom image paths are set
* WPML compatibility
* «Disable WordPress image sizes» option causing issues with image URLs

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.