Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nice idea but also regenerates old thumbnails ... #24

Open
swedishboy opened this issue Apr 18, 2018 · 0 comments
Open

nice idea but also regenerates old thumbnails ... #24

swedishboy opened this issue Apr 18, 2018 · 0 comments

Comments

@swedishboy
Copy link

It seems to look into the attachment-metadata and regenereate old (often obsolete sizes).
If that data hasn't been cleaned properly it can end up generating several extra image sizes that might not even be used by the current theme.

I think you should regenerate only the image sizes from get_intermediate_image_sizes, right? :)
https://codex.wordpress.org/Function_Reference/get_intermediate_image_sizes

The current behaviour might be useful, but should be an opt-in or alternate plugin (if you don't want to make a prefs screen for this one).

I'm working on cleaning out old image-sizes on a project i'm working with. The upload folder on this project had more than 30.000+ files (yep, it wasn't sorted into year/month either ...) so it was in desperate need of cleaning.

However what I'm looking for now is something to help me clean the attachment-metadata sizes. And this plugin did the opposite. Regenerating old thumbnail sizes I want to get rid of. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant