Smushed images are marked as not compressed in Page Speed

The following smushed images are still marked as needing optimization:

Compressing could save 11.9KiB (38% reduction).
Compressing could save 10.1KiB (34% reduction).
Compressing could save 9.8KiB (39% reduction).
Compressing could save 1.4KiB (14% reduction).
  • Kasia Swiderska

    Hello Shane,

    Seems that those images had sizes that were no longer used and there was no definitions for them in WordPress (theme or plugin).
    I added them manually with this small mu-plugin:

    add_action( 'after_setup_theme', 'wpmudevsizesforsmush' );
    function wpmudevsizesforsmush() {
        add_image_size( 'smush-one', 430, 286, true );
        add_image_size( 'smush-two', 145, 111, true ); 

    and re-smushed. So now those 430x286 should stop popup as not smushed. I removed then this code as it is no longer needed.

    There is problem with last image client_TY-145x111.png - because oryginal image size for this image is 145x111 so even I will re-smush it and regenerate it, that wont help because if full size is same as thumb size, then original name is kept. But because it is the same, you can find place where that image is added on your site and switch it to client_TY.png - size is the same and it is smushed.

    kind regards,

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.