ilab-media-tools icon indicating copy to clipboard operation
ilab-media-tools copied to clipboard

compatibility with EWWW Image Optimizer

Open nosilver4u opened this issue 5 years ago • 4 comments

Hi, I'm the dev for EWWW IO, and some of our users had asked for compatibility with your plugin. I was looking through your plugin today, and it seems to work fine for new uploads, but optimizing an image after it's already on S3 doesn't seem to trigger any updates to S3.

Looking through the storage class, it seems this is because Media Cloud basically short-circuits itself on the wp_update_attachment_metadata filter if an image optimizer plugin exists, and then runs on our ewww_image_optimizer_post_optimization action.

However, when EWWW IO is optimizing an existing image, that action fires before wp_update_attachment_metadata, and so nothing happens with S3.

If there's anything I can change in EWWW IO to make this work with Media Cloud, do let me know. Latest EWWW IO code is at http://github.com/nosilver4u/ewww-image-optimizer/

nosilver4u avatar May 24 '19 22:05 nosilver4u

Just went to try this out again, but doesn't seem anything has changed, am I missing something, or is this just a "won't fix"?

nosilver4u avatar Aug 16 '19 16:08 nosilver4u

@nosilver4u Sorry man, I've had my hands in a lot of fires this last month. This was closed out on accident. If you can drop me a line, I'd love to get better support for EWWW integrated. You can reach me at [email protected]

jawngee avatar Aug 16 '19 16:08 jawngee

no worries, I'll shoot you an email shortly

nosilver4u avatar Aug 16 '19 16:08 nosilver4u

Has this issue been resolved? Wanting to use these plugins together but not sure if they're fully compatible. Thanks.

regiside avatar Apr 15 '21 20:04 regiside