Force Regenerate Thumbnails

描述

Force Regenerate Thumbnails allows you to delete all old images sizes and REALLY regenerate the thumbnails for your uploads.

Regenerate all thumbnails from the Tools admin menu. Regenerate batches of images via the Media Library list mode. Select the images to regenerate and then use the Bulk Actions drop-down menu to Force Regenerate Thumbnails. Use attachment actions to regenerate thumbnails for a single image.

Several filters exist for advanced usage. See more via this gist.

屏幕截图

  • The plugin at work regenerating thumbnails
  • You can resize specific multiples images using the checkboxes and the "Bulk Actions" dropdown

安装

  1. Go to your admin area and select Plugins -> Add new from the menu.
  2. Search for “Force Regenerate Thumbnails”.
  3. Click install.
  4. Click activate.
  5. Go to Tools -> Force Regenerate Thumbnails OR select specific images from the Media Library list mode to regenerate.

评价

2023年3月31日
It is MUCH more aggressive than the other thumbnails' regeneration plugins. I can see a great use case if you want to free up hosting storage, that's why I give 5 stars. Anyway, be careful because there are chance to have missing images on frontend depending on several factors. As dev says in the dashboard, take a backup before proceeding.
2023年3月2日 1 回复
Great! everything works, but the previews in the library remain the same.
2022年8月31日
I rarely use plugins that haven't updated for years. But this plugin not only still works perfectly fine, it's even better than many newer products. I've just tried the plugin by Shortpixel, and it simply did not do the job. It is very likely a setting that was wrong. But common, I just wanted to regenerate all thumbnails after changing the thumbnail size. I don't want to read the documentation for that. "Force Regenerate Thumbnails" is still the winner for me. It's a pitty that it hasn't been updated for so long.
阅读所有169条评价

贡献者及开发者

“Force Regenerate Thumbnails” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

“Force Regenerate Thumbnails”插件已被翻译至22种本地话语言。 感谢所有译者为本插件所做的贡献。

将“Force Regenerate Thumbnails”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

2.1.2

  • changed: improved i18n for page headings and menu entries, props @alexclassroom

2.1.1

  • fixed: invalid trailing comma syntax in PHP 7.2

2.1.0

  • added: PHP 8.0 compatibility
  • added: support generating thumbnails from original (pre-scaled), on by default
  • added: support for PDF thumbnail generation
  • added: ability to skip an image by regenerate_thumbs_skip_image filter
  • changed: escape all output, sanitize all input
  • changed: ensure all strings are i18n
  • changed: remove HTML from i18n strings
  • changed: improve path lookup function
  • fixed: call to set_time_limit() when it is not allowed

2.0.6

  • Add PHP7 compatibility

2.0.5

  • No timeout limit

2.0.4

  • Fix issue when “opendir()” return FALSE (thanks Krody Robert)

2.0.3

  • Add debug information on regenerate
  • Fix issue with update “_wp_attachment_metadata” and “_wp_attached_file” on windows

2.0.2

  • New style for results (thanks @justonarnar)
  • Automatic update “_wp_attachment_metadata” and “_wp_attached_file” (thanks @norecipes)

2.0.1

  • Fix issue with get_option(‘upload_path’) in WordPress 3.5+ (thanks @DavidLingren)

2.0.0

  • Fix error handle

Earlier versions

Please refer to the separate changelog.txt file.