I noticed when I upload an image, several versions are being created beyond the default sizes set in WordPress and WooCommerce. The exact amount seems to vary depending on if the image is landscape or portrait orientated. The site could potentially have thousands of images uploaded, so the extra sizes will add up quickly. I don't understand what's adding the extra image sizes. Is there some way to trim this down to maybe 3 different sizes at most? I'm not sure what sizes are required by this theme but so many are being generated now, it's going to cause problems down the road.
The Wordpress image size settings are as follows: 150x150, 300x300, 1024x1024.
The WooCommerce settings are: 300x300, 600x600, 180x180.
Image sizes found after uploading a landscape orientated image: 1024x683, 1116x744, 1482x635, 150x150, 1612x1075, 180x180, 300x200, 300x300, 468x328, 468x468, 468x598, 500x290, 558x372, 600x600, 655x437, 655x545, 768x512, 806x537, 845x592, original size
Also, I thought about trying a plugin like Imsanity (https://wordpress.org/plugins/imsanity/) to prevent large images from being uploaded in the first place - hopefully freeing up space. But then I ran across the dynamic_image_downsize function in inc/lib/dynamic_image_downsize.php. Does that do roughly the same thing?
Are you referring to the Adaptive Images plugin by Nevma (https://wordpress.org/plugins/adaptive-images/)? According to their details page, the responsive images are created and stored in a cache directory. Not my upload directory.
So what would you recommend I do to cut back on the overhead? Based on what I want to upload now, and how it's behaving, I'll easily exceed thousands of images. And that's not taking into account additional images that will be added down the road.
This feature is built in on our theme and i'm not referring to any plugin. You don't need to worry about this, you just need to upload your images for your site even if they are 2000 images on your site this will not affect any much space on your server or speed of your site don't worry.
I understand your concern, however I will explain why this happens.
Our theme has different modules: blog. portfolio, shop, and other pages. Each of them needs custom size, so we have defined the image sizes and thus wordpress automatically generates them.
After Googling, fortunately I have found a solution for this:
I noticed when I upload an image, several versions are being created beyond the default sizes set in WordPress and WooCommerce. The exact amount seems to vary depending on if the image is landscape or portrait orientated. The site could potentially have thousands of images uploaded, so the extra sizes will add up quickly. I don't understand what's adding the extra image sizes. Is there some way to trim this down to maybe 3 different sizes at most? I'm not sure what sizes are required by this theme but so many are being generated now, it's going to cause problems down the road.
The Wordpress image size settings are as follows: 150x150, 300x300, 1024x1024.
The WooCommerce settings are: 300x300, 600x600, 180x180.
Image sizes found after uploading a landscape orientated image: 1024x683, 1116x744, 1482x635, 150x150, 1612x1075, 180x180, 300x200, 300x300, 468x328, 468x468, 468x598, 500x290, 558x372, 600x600, 655x437, 655x545, 768x512, 806x537, 845x592, original size
Also, I thought about trying a plugin like Imsanity (https://wordpress.org/plugins/imsanity/) to prevent large images from being uploaded in the first place - hopefully freeing up space. But then I ran across the dynamic_image_downsize function in inc/lib/dynamic_image_downsize.php. Does that do roughly the same thing?
Hi Jason,
That is happening because Kalium uses Adaptive Images
(view on new page)
So on each screen size a different image size will show, that dramatically increases the speed of the site.
Are you referring to the Adaptive Images plugin by Nevma (https://wordpress.org/plugins/adaptive-images/)? According to their details page, the responsive images are created and stored in a cache directory. Not my upload directory.
So what would you recommend I do to cut back on the overhead? Based on what I want to upload now, and how it's behaving, I'll easily exceed thousands of images. And that's not taking into account additional images that will be added down the road.
Hi Jason,
This feature is built in on our theme and i'm not referring to any plugin. You don't need to worry about this, you just need to upload your images for your site even if they are 2000 images on your site this will not affect any much space on your server or speed of your site don't worry.
Have a great weekend!
Hi Jason,
I understand your concern, however I will explain why this happens.
Our theme has different modules: blog. portfolio, shop, and other pages. Each of them needs custom size, so we have defined the image sizes and thus wordpress automatically generates them.
After Googling, fortunately I have found a solution for this:
https://swiftthemes.com/swiftdynamicthumbs-plugin-to-generate-thumbnails-dynamically-when-needed/
So, if you upload this plugin it will disable automatic thumbnail generation, which should work in your case.