WordPress and Woocomerce Thumbnail Nightmare
-
I am probably posting this in the wrong place but I have spent days and days going over forums trying to deal with this wordpress image generating nightmare and I have to get this off my chest.
I hope that wordpress core devs and Woocommerce Devs and Admins will see it and respond and please explain why why why is it so?
wordpress is now a total monster when it comes to images.
In combination WordPress + Woocommerce + Most premium Themes there can often be 10 OR more different image sizes getting auto generated when a post/page/product is created.
Wordpress has 4 sizes..
woocommercer adds another 3 sizes
Most premium themes add several additional sizes of their ownAs an example the Enfold theme by kriesi adds its own 12 additional image sizes.
I understand why these are added for the Main Featured Image what I do not understand is why all these image sizes are generated regardless of where the original image being recreated is used..
What I dont understand is why every image in every post type generates every one of those sizes..
I mean why do we need the woocommmerce sizes generated for images found only within a post or page?
Why do we need all the post/page/prtfolio etc images sizes for a product image that will only every load in woocommerce page and widgets?
This is a core problem that is being ignored by both wordpress and woocommerce
it is complete madness to generate all image sizes for post types when 90% of them will never be used.it is just insanity creating all and every image size for all and every post type..
but the insanity really explodes if you add multiple images into a post/page/product..
OK its a problem having all the unused unnecessary images but understandable why they are being generated for the MAIN FEATURED IMAGE, the featured image is the one that will be used in widgets, thumbnails, Gallery and other locations etc etc
BUT Why oh why does wordpress/woocommerce generate all of the extra image sizes for every single other image in a post as well as the main featured image?
With woocommerce and a theme like Enfold installed for some reason I have 23 total image sizes in my site..
So we should be able to expect that the worst case scenario is that one of the images (the first image or main featured image will have 23 different sizes created that will be taking up space in the hosting server and that image generation process is going to cause considerable resource ussage on initial post save.
This is extremely wasteful..
But it get worse..
A lot worse
There is absolutely no need to generate any additional sizes for additional images that are found in the main body of a post or page or product description..But by deafault wordpress DOES generate all of those sizes for all images in a post
so in a post/page or woo product that has 10 total images in the description , the first one we can consider the main image or “featured image”we will get 230 total images generated (23 size versions for each of the 10 images) !!!
WTF GUYS …
Wordpress Woocommerce Admins Please address this madness.additional body images should not have ANY additional sizes generated.
they will never be called anywhere, they are in the post body so why?this is causing so many problems
If it creates 23 image for the first image only that will be 500 X 23 = 11500
then there would be 9 more images per post 9×500=4500
so worst case scenario should be 16000 (if it was restricted to just the first image getting multiplied)
that is IF the core was making sure NOT to generate those extra images..But the reality is that a woocommerce site using a premium theme like Enfold with 500 products in it and 10 images per product will generate 115,000 images!
that is just pure INSANITY!
and it really hurts if you bulk add products…
OR use a plugin like REGENERATE THUMBNAILS!When will the ADMINS and DEVS at WordPress and Woocommerce address this crital issue..
It is a huge and major flaw but nobody seems to really want to deal with it.
often when there are issues related to images theme developers or wordpress forum admins throw around oh just use the “Regenerate Thumbs” or “Simple Image Sizes” plugins and regenerate your thumbnails. .
Either they are totally unaware of the implications or they just don’t care if regenerating thumbs with those plugins Takes your server down..
so if you have that 500 product store with 10 images per product page you just ordered your server to create 125000 images right now so at best case its going to take quite a while to complete but more than likely even on a high end dedicated server you can expect your CPU and memory to hit 100% and crash your server guys, better hope your not on a shared server or you can kiss your account goodbye until you ring and beg your host to unban your account.
and good luck trying to successfully run asnd download a site backup!
too many innodes anybody?please wordpress admins and devs fix this insanity.
Every wordpress user should be worried and concerned about this issue and should be demanding that it be addressed.surely its not a hard issue to fix!
first of all make sure that those extra images are only for the designated featured image and NOT every single additional image in every single post type.OK, Rant over.. I just hope it gets heard.
- The topic ‘WordPress and Woocomerce Thumbnail Nightmare’ is closed to new replies.