FWS On-Demand-Resizer

外掛說明

This plugin is solution for well known flaw in WordPress architecture:
automatic resizing uploaded images in each of registered media sizes.

Although price of hosting space is low and we have gigabytes available that can be issue if you have dozen
(or more) registered sizes and because of that your backup files became larger than 10Gb.
Sooner or later you will be in situation to download (or even worse – to upload) that backup file.

Our analysis shows that vast majority of resized thumbnails are not used anywhere in website.
For typical theme with WooCommerce and additional 3 custom media sizes that percentage can be over 90%,
with 6 custom media sizes it is over 96% !!!

Because of that developers are often uncomfortable with registering more media sizes trying to find
some workarounds or violating design to accommodate existing similar sizes.

Purpose of this plugin is to eliminate that overhead and allow developer to register as many sizes as he needs.

It will intercept uploading process to prevent creation of thumbnails and intercept getters
(wp_get_attachment_image_src(), get_the_post_thumbnail_url(), the_post_thumbnail(),…) to create thumbnail if needed.
Additionally, it will register in database each created thumbnail allowing WordPress to delete it automatically
when parent image is deleted.

Usage

At “Settings” tab of this tool you can pick individually for which size you want to enable or disable this functionality.
Typically, you will enable it for all sizes.

Button “Delete” on “Utilities” tab will remove all thumbnails for sizes that are handled by this plugin.
That will significantly reduce size of your “uploads” directory allowing new thumbnails to be recreated on demand.

Button “Regenerate all thumbnails” will remove existing and create new thumbnails for all your uploaded images.

Video demonstration:

Contact

Please, send bug reports and feature requests to office@tekod.com

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈FWS On-Demand-Resizer〉的開發相關工作。

參與者

〈FWS On-Demand-Resizer〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈FWS On-Demand-Resizer〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

0.5.0

Release Date – 24 August 2023

  • New – Utility for regenerating thumbnails.
  • New – Added setting for tweaking compression level of JPEG images, this can produce slightly lighter thumbnail files.
  • Enhancement – Utility for delete all thumbnails now works via ajax, so you can track progress.
  • Fix – Improved performances by preloading metadata.
  • Fix – Support for SVG files now cover both image/svg and image/svg+xml mime types.

0.4.0

Release Date – 11 October 2022

  • Enhancement – Added internationalization to plugin. Created project at https://translate.wordpress.org/ and translated to Serbian and Dutch.
  • Fix – Improved performances while handling too small images.

0.3.0

Release Date – 28 November 2021

  • Enhancement – Added compatibility with “Regenerate Thumbnails” plugin. Thanks to Florian Reuschel.
  • Enhancement – Added compatibility with “SVG Support” plugin. Thanks to Florian Reuschel
  • Enhancement – Added debug logging feature.
  • Dev – Added filter “fws_rod_avoid_mime_types” to specify mime-types that have to be skipped by Utilities/Delete feature.
  • Dev – Added filter “fws_rod_enable_sizes” to configure plugin to handle specified image-sizes.
  • Dev – Added filter “fws_rod_disable_sizes” to configure plugin to avoid handling specified image-sizes.

0.2.2

Release Date – 19 November 2021

  • Fix – Fixed bug in handling core image sizes (thumbnail, medium, large).