• Resolved joycegrace

    (@joycegrace)


    Hello, I’m wondering if your plugin can handle the following problem.

    We have thousands of images. Many are duplicates of sizes we don’t need in WordPress, like medium-large, extra large and scaled, etc. These are generated by WordPress core. They are not from themes and plugins. But even if they were, we’d also not need these extra files.

    I would like to delete ONLY the image size variations we don’t need.

    Can your plugin can delete core WP sizes we don’t need both in the file system and database? And can it do this in bulk instead of one-by-one? In other words, if ALL medium-large images can be deleted. Can I do this with one click?

    Thank you,

    Joyce

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

    (@iulia-cazan)

    Hi Joyce,

    Yes, my plugin can help you achieve that. However, to prevent the whole application from generating the image size for future uploads, after you delete the files, you should also check the options to global ignore that image size (the option is available in the plugin setting page).

    My advice would be that you run the wp-cli command wp sirsc cleanup 1 all medium_large for removing such a large image set, otherwise, the whole process will take longer. You could also use the background processing options (the plugin can be configured to do that), but still, it would be better to run the command from the terminal.

    Always, it’s good that you backup your database and files whenever you run bulk actions.
    Let me know how it goes, or if you need other details.

    Have a nice day!
    Iulia

    Plugin Author Iulia Cazan

    (@iulia-cazan)

    Hello,

    I haven’t heard back from you in a while so I will mark this as resolved.
    You can start a new thread if you have other questions.

    If you are satisfied with my plugin and you haven’t rated/reviewed it yet, please do this. It would not take you more than one minute and it would help me. Thank you!

    Regards,
    Iulia

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Delete only unused image sizes?’ is closed to new replies.