Offload, Store, Resize & Optimize with Cloudflare Images


Устали от использования дорогих плагинов CDN, которые берут нелепые суммы за то, что должно быть бесплатным? Выгрузите свою медиатеку в Cloudflare Images, и пусть она сделает все за вас — сохраните, измените размер, оптимизируйте и доставьте изображения в наилучшем возможном формате для ваших пользователей.

Примечание от разработчика: Плагин находится в стадии разработки, я создал его для личного использования, потому что я устал от плагинов оптимизации изображений, которые игнорируют реальные потребности пользователей или завышают стоимость услуг. Если что-то работает не так, как ожидалось, или вы хотите добавить функцию в плагин, создайте запрос в службу поддержки, и я сделаю все возможное, чтобы это произошло.

Cloudflare, логотип Cloudflare и Cloudflare Workers являются товарными знаками и/или зарегистрированными товарными знаками Cloudflare, Inc. в США и других юрисдикциях.


  • Быстрый и простой мастер настройки
  • Различные варианты


  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?

This is just a first iteration of the plugin. I have tested it over a set of projects that I deployed to my clients.
If something is not working for you, please let me know by creating a support ticket on the plugin support forums.


01.02.2023 1 ответ
Great plugin, thanks for the awesome job you've done. It seems to be better than 2 other paid solutions I've used. The only question is, how to delete files from the server to keep them only in cloudflare?
14.01.2023 1 ответ
I was looking for this plugin for a long time and this guy made my dreams come true! A simple and complete plugin to implement Cloudflare Images in Wordpress! And a big appreciation to the support, always helpful!
25.11.2022 1 ответ
Thank you very much for the add-on. But this plugin doesn't work with Flatsome theme.We request support and update to make it work with Flatsome theme.
06.11.2022 3 ответа
Amazing work! It works out of the box. I only had to add the credentials manually in wp-config.php, but that is just 5 seconds of work. If you use cloudflare, go for it! PS: It would be great to have the option of excluding certain file types such as pdf (or doing that automatically by only uploading accepted file types). I have this issue with the bulk uploader - but I just read that the developer is working on that. So, really five big stars! Many thanks for your great work!
Посмотреть все 8 отзывов

Участники и разработчики

«Offload, Store, Resize & Optimize with Cloudflare Images» — проект с открытым исходным кодом. В развитие плагина внесли свой вклад следующие участники:


«Offload, Store, Resize & Optimize with Cloudflare Images» переведён на 1 язык. Благодарим переводчиков за их работу.

Перевести «Offload, Store, Resize & Optimize with Cloudflare Images» на ваш язык.

Заинтересованы в разработке?

Посмотрите код, проверьте SVN репозиторий, или подпишитесь на журнал разработки по RSS.

Журнал изменений

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