Remove unwanted image sizes
-
Hi,
I noticed that there are a couple of image sizes in the “These are all of the thumbnail sizes that are currently registered:” list that are not in my theme neither in plugins I use. I assume they come from WordPress, because I also see them in other people’s lists. Like these
1536x1536: 1536×1536 pixels (proportionally resized to fit inside dimensions) 2048x2048: 2048×2048 pixels (proportionally resized to fit inside dimensions)
This increases the used space a lot.
Some questions
1. How can I exclude these images?
2. Is there a way to set some unregister code in the functions.php file?
3. Is it safe to remove those images from the uploads directory manually or could this break the site.I’ve never used WP-CLI btw so if it’s possible without…
Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Remove unwanted image sizes’ is closed to new replies.