Notice: These forums are now retired and closed. For active support, please Submit a Ticket or visit our official WordPress.org community pages.
Kadence Theme | Kadence Blocks | Starter Templates | WooCommerce Email Designer | Ascend | Virtue | Pinnacle

Unused Images and Imagesizes – Way too many

Home / Forums / Kadence Theme / Unused Images and Imagesizes – Way too many

This topic is: Resolved
[Resolved]
Posted in: Kadence Theme
December 11, 2021 at 6:53 pm

Hi there.

I have a LOT of images on my install. It’s a woocommerce with around 4500 products and 3-4 images per product.
The install is adding 12 different thumbnails next to the original.

Since I have been migrating another store to woocommerce, I’ve been tweeking, testing and developing the site. This means that I have changed the image size in the shopkit -> Image Gallery and in Woocommerce Customizer a few times.

It looks like whenever I change these settings it generates more images and doesn’t delete the old ones, is that correct?

Also – I took a check for which image sizes I have, and it outputted this array:
Array
(
[1536x1536] => Array
(
[width] => 1536
[height] => 1536
[crop] =>
)

[2048x2048] => Array
(
[width] => 2048
[height] => 2048
[crop] =>
)

[woocommerce_thumbnail] => Array
(
[width] => 314
[height] => 314
[crop] => 1
)

[woocommerce_single] => Array
(
[width] => 667
[height] => 667
[crop] => 1
)

[woocommerce_gallery_thumbnail] => Array
(
[width] => 100
[height] => 100
[crop] => 1
)

[shop_catalog] => Array
(
[width] => 314
[height] => 314
[crop] => 1
)

[shop_single] => Array
(
[width] => 667
[height] => 667
[crop] => 1
)

[shop_thumbnail] => Array
(
[width] => 100
[height] => 100
[crop] => 1
)

[wc_order_status_icon] => Array
(
[width] => 32
[height] => 32
[crop] => 1
)

[dgwt-wcas-product-suggestion] => Array
(
[width] => 64
[height] => 0
[crop] =>
)

)

+ the default wordpress ones, small, medium, large…

Here you can see from the array above that it’s a set of 2 x 3 similar sizes that are generated but with different names.
(woocommerce_thumbnail <-> shop_catalog)
(woocommerce_single <-> shop_single)
(woocommerce_gallery_thumbnail <-> shop_thumbnail)

What should I do? The install adds now 3gb just in images, and this is of course WAY to much!

  • The forum ‘Kadence Theme’ is closed to new topics and replies.