So this is odd. I’ve noticed this since 2.3.x (I’m now on 2.4.1) but it is getting annoying and I’m wondering if anyone knows why it does this (and hopefully a fix? Or how to stop it from doing this).
While creating a product and adding an image to the ‘Color – Red’ variation, the same exact image (original filename: Product_Red_Front.jpg) gets duplicated as
- Product_Red_Front_1.jpg (12.81kb)
- Product_Red_Front_2.jpg (12.81kb)
- Product_Red_Front_3.jpg (12.81kb)
- Product_Red_Front_4.jpg (12.81kb)
- Product_Red_Front_5.jpg (12.81kb)
My guess it’s for each product ‘size’, because if I have S-XXL sizes that’s 5 sizes = 5 files made. I’m only selecting “Apply unique images by attribute to each SKU” and selecting “Color”.
But that turns a set of ~35kb images on my server into ~200kb. For_no_reason. Just takes up space for no reason. And makes it a headache to manage (say if I want to optimize the files in the future, I would have to optimize 5 files (and rename them as such) for each product side for every…color…)
I’ve added a picture for an example. For 1 color, 3 sides (so it ‘should’ be 3 files only per color) it created 15 files. From 35kb to 200kb. Just makes no sense, hopefully someone will know why it is doing this? Imagine having 4 or 5 sides…ugh. 30+ images for one color…lol
Just to prove this is pointless, I could export the products (as csv), change the image it uses to simply red_front.jpg, red_side.jpg, red_back.jpg for each product and it would work fine. (but obviously I’m not trying to do this, waste time, as it shouldn’t be doing this to begin with – it’s not like it’s resizing the images or anything special, just duplicating them)
I saw this topic: Strange Issue product image filename adding _1 to the filename but the answer didn’t work for me, I didn’t have anything in the ‘tmp’ folder :/
Thank you for your time, it is much appreciated.
