Hello,
the plugin supports WP-CLI so you can try your luck with that.
There is no resume functionality currently, though that is a great idea. The plugin could use some love anyway as I did not update it for quite some time. I will do my best to release an update this week and include the resume functionality as well.
By the way, did you check the error logs, is it maybe getting stuck on one specific image?
Hi thanks for the reply. Could you please let me know how I can use WP-CLI with your plugin.
I think I have a bad internet connection so it drops out.
Hi,
you can check this website for the documentation on how to use WP-CLI: http://wp-cli.org/
By the way, I just released a new update that adds support for resuming the removal, so please test it and let me know how it goes.
Thanks!
Hi thanks.
Do I need to select Keep a record of removed images sizes (not recommended for huge media libraries)? in order to have the resume function?
With the CLI. Does the cleanup function just removes images with filename-150×150.jpg
I can probably write a little batch file so that it just removes all images that contain -150×150.jpg etc.
Hi,
1.) You don’t need to select that checkbox in order to have support for resuming the removal, the resuming functionality will work regardless. How it works is it saves the current progress in the database, and removes that progress once the cleanup is finished. If the cleanup does not reach it’s end, the progress record won’t be deleted and you will get an option to resume it on next visit to the admin screen.
About the CLI, I have not deeply tested it since I don’t use WP_CLI myself (the support for it was added by another contributor), but it should remove all images that the cleanup through admin interface does.
Your 150×150 images won’t be removed however you run the cleanup process, you can read more about why that is in the plugin description (basically, that size is used in the media library).
Hi there,
Thank for that. The resume function works well now.
I’ve noticed that after the cleanup it has removed some of the images used for the Woocommerce category page.
I’m using a caching plugin, do I need to remove all cached files and then open up the page to see if it get’s regenerated?
Hi,
yes, ideally after installing this plugin you should purge your pages cache, and the plugin should create the image sizes the website needs on the first request.