Support » Plugin: Image Regenerate & Select Crop » Is there a way to select multiple image sizes and regenerate them all at once?

  • I see that I can click Regenerate for each custom image size one at a time, but is there a way to select multiple image sizes (or all images) and process them all at once?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    This is not possible from the UI, but it is possible if you use the command line, respectively the WP-CLI commands implemented by my plugin.

    Let me know if this helps.

    Regards,
    Iulia

    I am not familiar with this. Do I need to install another plugin to use the WP-CLI? More importantly, can you please tell me the command that would execute to regenerate all missing image sizes?

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    You can find instructions about installing WP-CLI here https://make.wordpress.org/cli/handbook/installing/

    When this is all set, you could use this command:
    wp sirsc regenerate 1 all all --show-info.
    It will show you details in the terminal while processing the files. You can read more about the WP-CLI extension at https://iuliacazan.ro/image-regenerate-select-crop-4-3/

    However, I advise you to run global executions in a staging environment, not in a production site.

    Some of us can’t use WP-CLI, Iulia (shared servers).

    Choosing several sizes for regeneration would be great. If you’re worried about the impact on the site, what about making a wp-cron task for it and running it in the background?

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.