• bencarte

    (@bencarte)


    Any idea why the images that WP creates automatically in the srcset field are not compressed? Google Page insight is giving me a 0 because none of the images are compressed. How can I force WP to compress them? (preferably without a plugin)

Viewing 3 replies - 1 through 3 (of 3 total)
  • Jacob Smith

    (@smithjw1)

    Server-side image compression is very dependent on tools and libraries that aren’t consistently installed across web servers.

    So including it in WordPress core would not work as often as it would work.

    That’s why a plugin is probably your best bet. You can also work to optimize the source image you upload. That should result in compressed files at the different image sizes.

    I would recommend a ImageOptim

    Thread Starter bencarte

    (@bencarte)

    I compress all my images before uploading them to wordpress but somehow wordpress creates multiple files of the same image but bigger in file size.

    So for example I upload a 1500×1000 image at 500kb and then wordpress creates another image at 1500×500 with 890kb.

    Jacob Smith

    (@smithjw1)

    Can you send a link to a front-end page where this is happening?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Srcset images are not compressed’ is closed to new replies.