• Hello,

    Optimize button from insert media library is not doing anything.The same problem with button from Attachment Details zone.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi Julian,

    Sorry for this late reply. Have you any Javascript Error in your browser’s console ? Can you paste it in reply ?

    Best regards,
    Charles

    I just ran into the same issue. It’s not a JavaScript error – it looks like the resmushit_optimize_single_attachment function is only calling reSmushit::revert, i.e. it is not optimizing the image, it is reverting the image to its original file.

    Not sure why it’s like this, but I can’t see any optimization happening at all on wp_ajax_resmushit_optimize_single_attachment.

    UPDATE: Just read the previous thread about re-activating the plugin and somehow it worked. The Optimize button works as expected now.

    UPDATE 2: I’ve managed to recreate the issue. Not sure if it’s the only cause of it, but it can be recreated as follows:

    1) Click Optimize on any image – it works.
    2) Save reSmush.it plugin settings. Settings do not need to have changed.
    3) Click Optimize on any image – it shows “Reduced by 0 (0 saved)”.
    4) Deactivate and Reactivate plugin – clicking Optimize works again.

    I can’t figure out why exactly this happens, but hopefully this will give you enough information to find the problem on your end.

    UPDATE 3: Ok, I found the cause of the issue. The problem occurs when the “Optimize on upload” setting is disable. When it’s off the Optimize button doesn’t work and when it’s on it works fine.

    • This reply was modified 7 years, 2 months ago by Saul F. Reason: Just read the previous thread about re-activating the plugin and somehow it worked. The Optimize button works as expected now

    Thanks for your investigation, we’ll work on it to correct the plugin!

    Best regards;
    Charles

    Hi all.
    I can confirm that we are experiencing the same issue and it also effects the “Bulk Optimise” feature.
    Late last year we decided to turn off “auto optimise” because it was confusing content authors to wait a few minutes while each image gets processed. (We are in Australia so there is a fair latency in communicating with your web service). We decided we try just bulk optimising periodically.

    I had noticed that the optimise feature hadn’t been working for us lately and put two and two together after reading this ticket.

    Hope this helps.
    Thanks
    Warren

    • This reply was modified 7 years, 2 months ago by warren.lees.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Optimize button not working’ is closed to new replies.