Linux 软件免费装
Banner图

Kestrelpine Image Size Manager

开发者 kestrelpine
更新时间 2026年11月7日 19:50
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

media image sizes thumbnails wp-cli regenerate thumbnails

下载

1.0.1 1.0.0

详情介绍:

When you switch themes or change image sizes, your existing images keep their old sizes and new sizes are missing. Kestrelpine Image Size Manager rebuilds the sizes you pick for the images you pick, with a progress screen you can pause and resume, and it shows the old size files that nothing uses any more. Features Privacy Kestrelpine Image Size Manager does not send any data anywhere and does not set cookies. It stores the progress of a running job in your user profile and removes it when you uninstall the plugin. Pro adds A separate paid add-on, Kestrelpine Image Size Manager Pro, is optional. Everything listed above stays free and works without it. Pro adds: Plans are 39 / 79 / 149 USD per year (1 site / 5 sites / unlimited), with a 14-day free trial. Checkout: https://checkout.freemius.com/plugin/44001/plan/77519/ — free trial: https://checkout.freemius.com/plugin/44001/plan/77519/?trial=free

安装:

  1. Install and activate the plugin from Plugins, Add New.
  2. Go to Tools, Kestrelpine Image Size Manager.
  3. Pick the sizes, choose whether to create only missing sizes, and press Start.
To regenerate selected images, open Media, switch to list view, select images and choose Regenerate sizes from the Bulk actions menu. Each image row also has a Regenerate sizes link.

屏幕截图:

  • Progress screen with pause and resume.
  • Leftover files tab after a full library scan, listing only images with leftover files.
  • Leftover files preview for one image.

升级注意事项:

1.0.1 Pro hooks filter, translation template, and Pro adds links. 1.0.0 First release.

常见问题:

Will this delete my original images?

No. Regeneration only writes size files. The original upload is never changed. The leftover files report only lists size files that match an image's name pattern and are not referenced by that image or any other attachment, and nothing is deleted until you confirm on the preview screen.

What happens to old size files after I regenerate?

When a size changes dimensions, WordPress writes a new file and the old one stays on disk. Use the Leftover files tab to scan the library, then review and remove those, one image at a time. The scan can be paused and resumed, and it only reports that nothing was found once every image has been checked. Keep a backup before deleting files.

My library is large. Will it time out?

The progress screen processes a few images per request and saves its position after every image. If the browser closes or the server stops, open the page again and press Resume. For very large libraries, the WP-CLI command is the fastest option.

How do I use the WP-CLI command?

wp kestrelpine-sizes regenerate processes all images. Add attachment IDs to process only those, --sizes=thumbnail,medium to pick sizes, --missing-only to skip existing sizes, --from and --to for an ID range, and --dry-run to preview. wp kestrelpine-sizes leftovers <id> lists leftover files for one image and --delete removes them.

Does it work with WebP or AVIF?

Yes. The plugin calls the same core functions as an upload, so any output format set through the image_editor_output_format filter is used.

Who can use it?

Users with the manage_options capability, which is administrators by default. Developers can change this with the kpism_capability filter.

更新日志:

1.0.1 1.0.0