Hi,
I’m using an masonry gallery to show posts with images. Because I would like the images to shot at the original ratio, I’ve set it to set your own format and use no-scaling. But, the no-scaling causes large thumbnails as 800kb. With 100 posts to show, this is becoming a big page to load. See the private content field for a link to this page.
Can you recomment me another way to achieve this layout? Or another setting for the post-images?
Regards,
Erwin
Hey Erwin,
Thank you for the inquiry.
The no-scaling option is really meant for cases where you need pixel-perfect originals, so 800kb thumbnails with 100 posts will definitely cause performance issues. The best approach here is to resize your images before uploading them to WordPress. For a masonry gallery, images don’t need to be wider than 1200px or so, and at that size you can usually get them well under 150kb without any visible quality loss.
After resizing, run them through a compression tool like TinyPNG or Squoosh before uploading. If you’ve already uploaded the originals, a plugin like Imagify or ShortPixel can bulk-compress your existing media library.
For the gallery setting itself, you can then switch back to one of the standard cropping options in the masonry element, which will let WordPress serve correctly sized thumbnails automatically.
— https://tinypng.com
— https://squoosh.app
Let us know if you have more questions.
Best regards,
Ismael
