Viewing 1 replies (of 1 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    The images are already optimized immediately after Imsanity scales them. To verify, upload an image with EWWW IO, then go to the Media Library and click the Re-Optimize link. This will force a re-optimize. If it shows No Savings, that tells you it was already fully optimized. If not, then we have a bug.

    Here’s why you see “Previously optimize”:
    When Imsanity scales the image, it uses the WP_Image_Editor class, where we have substituted optimized versions of the ‘save’ routine, so the image is optimized at this point. However, WP is not finished processing the upload, and EWWW gets called when the attachment metadata is being saved, which is where we normally process the full-size version. At this point, a match is found telling us that the image has already been processed by EWWW, and it stores a Previously optimized message in the metadata.

Viewing 1 replies (of 1 total)
  • The topic ‘Does not reduce after imsanity’ is closed to new replies.