Hello, I have 17k plus posts and growing every day, my images/thumbs count until now is of more than 500,000 images (half a million). Please we need a solution, there must be a way to just generate thumbs from featured image. This problem makes the theme unusable for many of us. I realy can’t understand why an “error” like this is being overlooked. Many of us will greatly appreciate any help on this matter.
Thank you!
Hello,
Unfortunately our theme needs the thumbs generated for each image. What you can do to reduce the number of thumbs is assess the exact modules and blocks, layouts..etc and make notes on the exact thumbs you use on your site. This should help: https://forum.tagdiv.com/theme-thumbs/
And after you have everything listed, please deactivate the thumbs you do not use from here: http://screencast.com/t/wLtX6iHS
This will greatly reduce the number of thumbs created by the theme.
Thank you!
Hello, thanks for your fast response.
If I disable all thumb sizes from the theme and then regenerate, are all the thumbs that were created be deleted leaving only the original images that were uploaded? And if this is possible, which image regenerate plugin would you recommend me for this matter?
It would be more effective for my case if I localy create from each image that I’m using as featured the four or five sizes that the theme requires and add them manualy to each post’s folder after cleaning all those thumbnails that were automatically created.
The most important part is to automatically delete all the thumbs that were created, leaving only the original images that werer uploaded by me.
Thank you!
Don’t know how to automatically delete old thumbnails; I was actually looking at best way to do this myself recently.
One thing you can try, is have your host make a gzip of your entire website, save out as backup on local HD; then try something like this plugin:
https://wordpress.org/support/plugin/media-deduper
Not sure it will help. Have not yet tried it.
For a clean install I went through and found the 5 sizes we use and turned the rest off.
In our case we have tons of images from old theme over 10 years, then tons from the new theme of past 2 years.
Somebody is going to make some moola if they develop a plugin to somehow logically scan the media dbase and smart delete based on sizes after building index — e.g., delete all images with size of 423xN if no longer used. Shazam.
I’d pay $50 for that right now.
Had to download 72,000 images the other day via FTP. I feel your pain 😉
Then stupidly remembered I could do a ‘backup’ from the server panel and ftp that into one of the other sites as gzip file.
Took a look in the folder and went ….. ouch. Not only all the oddball sizes, but stupid stuff like
main-image-600×450.jpg
main-image-600×450-1.jpg
Waaaah!!!!
Hi,
I’m pretty sure the ‘force regenerate’ plugin will remove any unused thumbnails but I have not tested it myself.
https://wordpress.org/plugins/force-regenerate-thumbnails/
Thanks.
Hi,
Found it Chris (and Bogdan)! This plugin removed 395,254 images/thumbs from my server in around 2 hours (-80% /uploads disc space). It just left untouched the 3 media manager related sizes and the original image. I tested it on wp 4.6, flawless. According to the author new thumbs will be created and stored only when that specific size is called by a block or else. I surfed my site after running it and all necessary thumbs were there, so. You felt my pain, now feel my Joy 😀
Here is the link:
Optimize Images Resizing
Cheers!
O M G !
Will have to try this out.
What sucks is that on couple of sites, the SQL dbase was corrupted back to December and had to use stupid wordpress xml export file, which doesn’t seem to load back in all the image references to the media folder; so I have 70,000 images on one site, but only about 2,000 in the actual media “panel.” I tried a plugin to “scan a folder and add to media list” .. .but that just crashed and burned even with 1GB allocated to php (!).
So, one hurdle crossed. Good job, and thanks for sharing!
As Ren and Stimpy would say “happy HAPPY joy JOY!” 🙂