Archived topic
Multiple versions of images generated
3 replies · Started by Mark on May 21, 2020
FTP confirms that my content uploads folder has numerous versions of every uploaded image. I deleted them all, then went to WP -->Settings --> Media and set all image sizes to "0", which is supposed to stop WP generating multiple image versions on upload (and I tested this, it seems to work).
But as soon as I use an image in the theme, multiple versions are created (some of these new versions are way heavier than the originals!). From my reading, this generation of multiple versions is caused by the theme itself. How can I disable this please?
Hi there,
WordPress is responsible for generating the responsive image sizes.
Try the method outlined here to disable that function.
https://perishablepress.com/disable-wordpress-responsive-images/
Thanks, that's a very useful link. Horribly bloated code in WP! I carefully optimize my images when I create them, and I want exactly that image used on the screen, scaled to fit, not another thumbnail image. I'll be implementing the code changes advised.
For those interested, I removed all the unwanted thumbnails with "Thumbnail Cleaner", which I think uses regex to find and remove them.
You're welcome