Can't reduce some images

I'm trying to improve my Google Pagespeed score but I'm still getting a big negative on my score because of "Optimize images" problem. https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Fdev-injectidry.pantheonsite.io%2F&tab=desktop
The detailed message says "Optimize the following images to reduce their size by 542.7KiB (89% reduction)."

  • Adam Czajczyk

    Hello Shawn,

    I hope you're well today and thank you for your question!

    The PageSpeed Insights service is using some internal Google algorithm to check compression and it's - as all Google algorithms are - not available publicly so there's no way to find out exactly what the difference is here. However, the very first thing to check would be whether those images got smushed (optimized) at all and if so if there are any WP Smush Pro settings that could be improved.

    Having said that, I'd like to take a closer look at your setup. I won't make any major changes there without your prior consent but it would be very helpful if I could just take a look around site's settings and check WP Smush Pro stats.

    You can let me check the site by granting me a support access using WPMU DEV Dashboard plugin. Here's a guide on how to do this:

    https://premium.wpmudev.org/manuals/wpmu-dev-dashboard-enabling-staff-login/

    Best regards,
    Adam

  • Predrag Dubajic

    Hi Shawn,

    I had a look at your site and the reports and here's what's actually going on here.

    The google page speed has two reports for image optimization.
    1. Losslessly compressing - This one's is telling that image can be optimized and that's what smushing does.
    2. Compressing and resizing - This shows that the images are resized via HTML and CSS

    The second one is what's shown in your results and that's because your theme is loading 970x727 thumbnails but the actual HTML holder of that image is 242x181 so the image is resized with CSS to fit in that holder.

    Unfortunately this is not something Smush can deal with since the theme code is written in the way to call the larger image, and even though the image is compressed google doesn't like loading image larger than its holder, so this is something you need to check with the theme devs.

    Hope this makes sense :slight_smile:

    Best regards,
    Predrag

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.