Optimizing the total number of files

Posted in: Newspaper
Post count: 2

Hi everyone,
My website has grown to the total number of almost 44000 of files.
I would be grateful for some tips how to reduce this number, as I will soon reach the limit set by the hosting provider.

There are around 1300 posts on the website, typically with one illustration/image per post.
I understand that the images are multiplied and resized to fit into different page templates, but even with 10 resizes per photo, it would still be far below 44k files.
Is there any cache that I could delete? Backup copies? A plugin that I could run?
Thanks for your time and suggestions.

Post count: 9544

We ran into this on one of our sites which went all the way back to WP 1.6 (!). We had so many photos, it was impossible to download site via FTP. So, what we did was, make zip backup of size via server panel. Then we set the thumbnail settings in the main WP media panel to 0 for the sub-sizes. Then we turned off any sizes not being used in the theme itself and killed couple redundant sizes. Then we used the regenerate thumbnail plugin to basically kill all the existing thumbs, and regenerate only those we had setup moving forward. So, we ended up with about 5 per story, vs nine or more. That took overnight to run, but wow, killed about 100,000 image files! Your mileage may vary.

Post count: 27744

Hello,

Each thumb that you have enabled, will create a copy of that images. II recommended using the Flex blocks, instead of blocks 1-25; those are from the tagDiv standard pack and can’t be customized as a Flex Block; this plugin loads all the styles even if it is not used;
So, our theme make thumbs which are enabled in Theme Panel -> Block Settings => https://www.screencast.com/t/ZvDvpiBFKY3 -> https://forum.tagdiv.com/theme-thumbs/
Also, WordPress creates thumbs => https://www.screencast.com/t/AMVBOZWto
Our suggestion is to take a look at what blocks you use and make sure that the thumbs are active only for that=> https://forum.tagdiv.com/theme-thumbs/

Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newspaper’ is closed to new topics and replies.