• tyealia

    (@tyealia)


    I am using ewww image optimizer

    My workflow is copy pasting work from writers into gutenburg after I hit publish or save as draft i see the image directly in the library, if i have auto convert to jpg on for ewww, it works and converts the png to a jpeg. However i still see png on the front end and in the editor, also if i select delete original the image just breaks as it links to the png still.

    I have tried disabling the auto-convert and just using the manual convert png to jpeg button in the media library, this works perfectly! So I am thinking there may be some plugin interference and maybe the hook or script to change file names is not running correctly for the front end.
    https://www.screencast.com/t/GTfwuFMpFp1K`

    ewww support responded with the following “`Hey Andrew,

    I checked with Shane on this and he initially thought it might be something with async, but for a PNG, if conversion is enabled, async mode is disabled. He said he tested it and confirmed that async mode was properly disabled during the upload. But, he looked into the Auto Upload plugin code and found that it seems like that plugin is assuming that the filename won’t change. It doesn’t check the attachment metadata after it’s been updated, even though it does receive that updated meta. Since Auto Upload doesn’t have any hooks/filters, there isn’t really anything we can do on our end to address this. At this point, I think I would check with them on if there is any way their plugin can take a situation like this into consideration.`”

    • This topic was modified 4 years ago by tyealia.
    • This topic was modified 4 years ago by tyealia.

The topic ‘Plugin doesent work with image optimizers converting to jpeg’ is closed to new replies.