How to reduce the number of generated images?

Posted in: Newsmag
Post count: 8

My website: http://www.omroeptholen.nl
Theme: Newsmag 5.4.3.1 (with licence)
WP: 6.6.2
PhP 8.2.23
Header= Style 8
Top bar= style 1
Footer= style 6
Block and post template: article display view= module 4

Can anyone give me advice how I can prevent WordPress making 46 copies with different formats when uploading an image (jpg)?
Although I have a large bandwidth when uploading files, processing one image takes an average of 1 to 2 minutes and the result is 46 copies in different formats (which I encounter in the block settings).

Post count: 35449

Hi florisjanot,
What you can do is to disable some of the thumbs in the theme panel (thumbs that are not used) – https://forum.tagdiv.com/newsmag-theme-thumbs/ before doing this it is recommended to check the blocks/modules you are using on the website to make sure you do not disable the thumbs for those. After that it is recommended to check the WordPress thumbs, this can be done using a plugin – https://wordpress.org/plugins/disable-generate-thumbnails/ or using a code in functions.php – https://wordpress.org/plugins/disable-generate-thumbnails/
After that it will be need to use a plugin to regenerate the thumbs and delete the old thumbs that are no longer in used – https://wordpress.org/plugins/force-regenerate-thumbnails/
Thank you!

Post count: 8

Hi Calin,
Thanks for your advices.

With these I have improved the performance of the website special the upload of images. That took about 2 minutes per image.

Post count: 35449

Hi,
I’m glad it helped you!

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