這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

AJAX Thumbnail Rebuild

外掛說明

AJAX Thumbnail Rebuild allows you to rebuild all thumbnails on your site. There are already some plugins available for this, but they have one thing in common: All thumbnails are rebuilt in a single step. This works fine when you don’t have that many photos on your site. When you have a lot of full-size photos, the script on the server side takes a long time to run. Unfortunately the time a script is allowed to run is limited, which sets an upper limit to the number of thumbnails you can regenerate. This number depends on the server configuration and the computing power your server has available. When you get over this limit, you won’t be able to rebuild your thumbnails.

Why would you want to rebuild your thumbnails? WordPress allows you to change the size of thumbnails. This way, you can make the size of thumbnails fit the design of your website. When you change the size to fit for a new theme, all future photos you are going to upload will have this new size. Your old thumbnails won’t be resized. That’s where this plugin comes into action. After changing the image sizes, you can rebuild all thumbnails. But instead of telling the server to recreate all thumbnails at once, they are rebuilt one after another. Rebuilding thumbnails for one photo won’t take all too long, so you won’t run into any script timeouts. Note that you still have to wait until all thumbnails have been rebuilt. If you close the page before the task is completed, you have to start all over again.

You can also select the thumbnail sizes you want to rebuild, so that you don’t need to recreate all images if you’ve just changed one thumbnail-size. You can also choose to only rebuild post thumbnails (featured images).

This plugin requires JavaScript to be enabled.

Contributions are welcome at Github

螢幕擷圖

  • Plugin in action

安裝方式

Upload the plugin to your blog, activate it, done. You can then rebuild all thumbnails in the tools section (Tools -> Rebuild Thumbnails).

使用者評論

2024 年 5 月 16 日
No replies to support queries for over a year so it seems like a dead plugin. hopefully you backup your site before trying this.
2024 年 3 月 8 日
This is a great plugin, easy to use and it should be in Core in some way or form. It’s ridiculous that Woo does automatic thumbnail regeneration, but WP Core doesn’t. Thanks for this.
2021 年 3 月 12 日
Nice plugin, very useful, efficiency top. Make it automatic for every new photo or drawing in medias, it will be giant !!! 😉
2019 年 9 月 9 日
My site has 7600 images, no other regeneration plugin would come close to finishing the process. This did the trick! Even though it hasn’t been tested with the latest three updates of WordPress, it ran perfectly fine. I hope the developer keeps this one alive. It saved me! No other plugin would work in this situation. Word of caution as stated in the description. Do not close the window, or allow your computer to hibernate. If you have a lot of images, leave the window open, turn off sleep mode in your control panel settings and play movies so images dont burn into your screen. Thank you so much! I can’t stand bloat on my server. This really did its job. and it was a big job.
閱讀全部 89 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈AJAX Thumbnail Rebuild〉的開發相關工作。

參與者

〈AJAX Thumbnail Rebuild〉外掛目前已有 14 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈AJAX Thumbnail Rebuild〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.14

  • Fix security issues (props @patchstack)
  • Fix Github link (props @Julix91 @garretthyder)
  • Fix crop-settings for additional sizes (props @karlkowald)

1.2.2

  • Compatibility with PHP 7.2 (props @thomas-gordon)
  • Implemented throttling and retries for image regeneration (props @da2x)

1.2.1

1.2

  • Compatibility with PHP7

1.12

  • FIX: An issue where rebuilding thumbnails in the media gallery
    would not work

1.11

  • FIX: An issue where the plugin would sometimes break the media gallery.

1.10

  • NEW: Rebuild thumbnails of single images on the media attachment page.

1.09

  • NEW: Checkboxes can be activated by clicking on text.

1.08

  • NEW: Slovak translation, provided by Branco Radenovich.

1.07

  • FIX: Don’t create metadata with empty size when original image is smaller
    than the target size.

1.06

  • FIX: Don’t forget metadata for sizes that aren’t rebuilt.
  • FIX: Option to only rebuild featured images should now work correctly.
  • FIX: Don’t fail if there are no attachments.
  • NEW: It’s now possible to toggle all selected sizes.
  • NEW: Added translation: German.

1.05

  • Add option to only rebuild post thumbnails (featured images)

1.04

  • Tested with WordPress 3.2

1.03

  • Fixed: Show correct height value for thumbnails.

1.02

  • You can now select which thumbnail sizes you want to rebuild. Thanks to Nicolas Juen!

1.01

  • Tested with WordPress 3.0

1.0

  • Initial release