• Resolved nagarjuna993

    (@nagarjuna993)


    Does EWWW optimize all the sizes of images generated by WordPress separately or only the image that is uploaded by user.

    One more thing i am using AWS Cloudfront CDN. Basically WordPress uploads the images to CDN, but when using the plugin does it upload the optimized image to the CDN before the non-optimized image is uploaded or does it makes duplicates on the CDN.

    https://wordpress.org/plugins/ewww-image-optimizer/

Viewing 15 replies - 1 through 15 (of 37 total)
  • Plugin Author nosilver4u

    (@nosilver4u)

    EWWW IO optimizes all sizes generated by WordPress.

    What plugin are you using for the CDN? It should be running before they are uploaded, but it may not be. I can take a look if I know what plugin you are using.

    Thread Starter nagarjuna993

    (@nagarjuna993)

    I am using amazon s3 and cloudfront plugin and also amazon web services plugin.
    I just installed the plugin and it is not uploading the compressed files to the CDN. While inserting the pictures it shows the compressed size and also points the url to the CDN but when i open the file the uncompressed file is showing up and its the same when inserting the photos.

    Plugin Author nosilver4u

    (@nosilver4u)

    Make sure you flush your browser’s cache, and please post a link to an example image, and let me know what the before and after sizes should be.

    Plugin Author nosilver4u

    (@nosilver4u)

    Just confirmed that Amazon S3 and Cloudfront is running with a higher priority level than EWWW IO. I’ll have to see if I can lower that safely, since it is a bit of a balancing act with other plugins to make sure we don’t run too soon, but running soon enough. In the meantime, you could request the developer of the Amazon S3 and Cloudfront plugin to bump up the priority on the wp_generate_attachment_metadata hook to something higher than 60.

    Thread Starter nagarjuna993

    (@nagarjuna993)

    The developer of the plugin is not responding to the messages in the support like 1 or 2 months, so no hope i think.
    Meanwhile any modification on the EWWW plugin can make it work?
    (I don’t know much about WordPress codebase)

    Plugin Author nosilver4u

    (@nosilver4u)

    I’m looking into it today. I had set it to 60 to run after the Image Store plugin, but that may not be necessary anymore. I need to do some testing, so I’ll let you know what I find out.

    Thread Starter nagarjuna993

    (@nagarjuna993)

    ok thanks

    Plugin Author nosilver4u

    (@nosilver4u)

    Discovered that the one plugin that was a blocker was doing some clever things that were unaccounted for. As a result, EWWW IO no longer needs to hook after that plugin, so I have changed the priority to run before the cloudfront plugin. 2.0.2 will be out early next week (or sooner).

    Thread Starter nagarjuna993

    (@nagarjuna993)

    Thanks for your great support. Will be waiting for the update. One more thing after the update if I bulk optimize the images will those be updated in CDN?

    Plugin Author nosilver4u

    (@nosilver4u)

    Nope, does the amazon s3 plugin have a bulk uploader?

    UPDATE: just answered by own question from the plugin description: NO.

    I’ll see if I can trigger an upload after a successful optimization, but that might not make it into 2.0.2.

    Thread Starter nagarjuna993

    (@nagarjuna993)

    The plugin description says it wont upload old images. But the images that are already uploaded also cannot be modified? i.e After optimization.

    Plugin Author nosilver4u

    (@nosilver4u)

    I guess all we can do is try it and see. Worst case, you would just need to delete your wordpress files from amazon’s servers, and THEN run the bulk optimization. You’ll be able to try it on a handful of images first before you try the full-blown bulk optimization. This function is definitely NOT going to be in 2.0.2 though. Because it would be a new feature, that will have to go in 2.1, but if you’re willing, I can give you the dev link once I have the function ready for testing.

    Thread Starter nagarjuna993

    (@nagarjuna993)

    Ok i will try it after you finish your coding. Mean while the 2.0.2 will work with the newly uploading images right.

    Plugin Author nosilver4u

    (@nosilver4u)

    it should, yes, please let me know right away if it doesn’t

    Thread Starter nagarjuna993

    (@nagarjuna993)

    Ok i will let you know as soon i test it.

Viewing 15 replies - 1 through 15 (of 37 total)

The topic ‘Optimize different sizes’ is closed to new replies.