Theme creates ~25 crops/image and not all are necessary. Which can be removed?

Posted in: Newspaper
Post count: 8

Hello and Happy New Year!
We’ve been using the Newspaper theme for over 1 year and it’s proven a highly valuable resource. Nevertheless, while we’ve read your documentation on the topic, but it’s not totally clear to us how the theme works regarding images.

Context:

We are a news website and we usually upload photos from Instagram or screenshots from YouTube in FHD. We’re running your lightbox and the gallery is set this way. Link to: Media File. Image Size: medium.

Our Goal with the Newspaper theme for this action:

We’re trying to delete some of the thumbnails generated by the Newspaper theme because these take up serious space (we’re close to filling up our server capacity regarding sheer size and file count, and we’re not using the majority of them in the first place—more on this below).

Details:

Until recently, all the ticks were On in Theme panel>Block Settings>Thumbs on Modules/Blocks. But our website only really uses 696×0, so we’ve just switched all of them Off and left only that On.

The problem is with all the news stories written until the said recent change. Many unnecessary crops (for our implementation) were created for these and we’re trying to establish which ones to delete from the server and which to keep for properly displaying the stories.
Here’s Example One.

The issue is that the thumbnails generated are come in more sizes than required: (300×0, 696×0, 0x420). At least for us on Firefox (on Chrome they seem to work fine, display a single size, namely 696×0). One of these isn’t even meant for galleries.

https://www.carvibz.com/wp-content/uploads/2022/12/321654015_738479594524603_1014872262854570049_n-300×375.jpg

https://www.carvibz.com/wp-content/uploads/2022/12/320890937_1225580058312273_926418632237447405_n-696×869.jpg

https://www.carvibz.com/wp-content/uploads/2022/12/321806138_186582460709775_720764713935934819_n-399×420.jpg

And, on top of this, the editor and the thumbnails are like this (it’s a default wordpress size):
https://www.carvibz.com/wp-content/uploads/2022/12/320890937_1225580058312273_926418632237447405_n-240×300.jpg

Here’s Example Two, for the first image in the gallery (porsche-panamera-rear2.jpg)

If we look in the server, there are over 20 crops generated for the original image, as follows:
-100×70
-1024×576
-1068×580
-1068×601
-150×150
-150×84
-1536×864
-218×150
-265×198
-300×169
-324×160
-324×235
-324×400
-356×220
-356×364
-485×360
-533×261
-534×462
-696×385
-696×392
-741×486
-747×420
-768×432
-80×60
-original uploaded to wordpress media gallery (in this case it was 1600×900, but it can obviously vary)

This behavior is replicated with all other images (the number of crops per original image—as found on the server—usually varies between 22 and 24 and not 100% of the specific sizes are the same for the various images, even though many are common).

Conclusion (we need your assistance):

-What crops should we delete?
-Can you please explain how the NewsPaper theme works in terms of generating these crops and serving them to the users? This should help us establish the crops we can delete and the ones to keep.

Thank you,
Mihnea Radu
Carvibz co-founder

Post count: 27744

Hello,

Each thumb that you have enabled, will create a copy for that images.
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!

Post count: 38

Hello!

I need to migrate my website to another hosting, and this one occupies 30 GB. I want to optimize it and among the things I want to fix are the thumbnails of many unused sizes.

Do I have a way (automated) to know which sizes the site is using?

(I saw this thread, https://forum.tagdiv.com/topic/theme-creates-25-cropsimage-and-not-all-are-necessary-which-can-be-removed/, and it confirms everything I had seen before, but I don’t have an inventory of which blocks or modules the site is using).

Thank you very much!

Translated with http://www.DeepL.com/Translator (free version)

Post count: 27744

Hello,

Please provide the link to your website.

Thank you!

Post count: 38

Hi, Anamaria!

https://impactotic.co

Thanks for your help! 😉

Post count: 27744

Hello,

So, you have blocks only from the tagdiv standard pack, you can find the details here -> https://forum.tagdiv.com/theme-blocks-modules/
You have Block 2,7,15,19, Big Grid 5,6,8 you can see the modules here -> https://i.imgur.com/eacYXPU.png.

Thank you!

Post count: 38

Thank you, Anamaria! 😉

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