For some reason after I upload ANY file it creates many thumbnails.
like
Filemane-100×70.jpg
Filemane-150×150.jpg
Filemane-218×150.jpg
Filemane-265×198.jpg
Filemane-324×235.jpg
Filemane-324×400.jpg
etc etc etc.
Why your theme generates thumbnails for ALL uploaded images if it should be for futured images only?
How can I stop it? My Upload folder has million of unused image copies.
I am experiencing the same issue and it is loading the thumbnail instead of the logo size that I want to use on the website.
Hello sil2,
Notice that our theme uses thumbs to crop images. Also, as you can see, the theme uses a lot of thumbs because we have some modules/blocks which are using different thumbs. In that folder, when you load an image, the theme will automatically crop the images for all of the sizes used by our thumbnails and the theme will prepare the images to be ready in case of using a block of those available. Also, if you want to reduce this process, you should turn off from the theme panel the blocks which you do not want to use for your entire theme, from here -> https://www.screencast.com/t/W2vtuCiQb and then, the theme will do not make any images fro this thumbs.
I hope that you understand me and hope that you understand the entire process in this regard.
Thanks for your understanding!
Thank you, Catalin for your answer, but this is not a case.
You create all those copys for EVERY uploaded image. Some of my posts have up to 50 images! Should youy just do it for feautured image ONLY? Should it be generated only on post save not any file upload? I was thinking to add a hook to rename futured images on post save. Add, let say, “FUTURED_” to the file name. And loop over all files in “upload” folder ones a day (cron job) and delete all thumbs for files where name <> “FUTURED_”. But this is quite complicated. I cannot just rename, I will have to recreate all thumbs again….. oh….
This is a big issue for us. “upload” folder becomes really heavy!
Any help? Onece again, I already disabled all posible blocks. There are only a few left but anyway, wordpress creates 3 copys and your theme still creates 5 more for EVERY image.
-
This reply was modified 9 years by
sil2.
Hello sil2,
After you have turned off the blocks which you do not want to use, you should install the Force Regenerate plugin to remove all of these images created earlier. Most likely, you have 5 different images created because you have enabled some blocks which use 5 different image size. Turn off ALL of them and check the results.
Thanks for your understanding!
Our theme creates thumbnails for all images and so does WordPress. It cannot know which image you will use as featured so it cannot differentiate. All images are treated the same. When an image is uploaded in the media library, it will get all of the thumbs created no matter where you use the image.
Thank you!