• Resolved dsutoyo

    (@dsutoyo)


    For some of the images on our site, the Optimize button doesn’t do anything. I click it, and it spins, and then returns to the blue Optimize button. Nothing happens: no optimization, no webp images created.

    This only happens for certain images. I noticed that they seem to be smaller images (< 100Kb).

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP Media

    (@wp_media)

    Hi there,

    This is Joseph from Imagify, I’ll gladly assist you here!

    I’m sorry you’re having issues with image optimization! If you’re running the Bulk Optimizer and you click “View Details,” are you given any specific error messages?

    These issues are sometimes caused by your server getting overloaded and timing out during optimization. At times, this can just be temporary and may start working properly again on its own, but the suggestions below have helped others resolve similar issues.

    • Add the following to your wp-config.php file (before the “That’s all! Stop editing…” message) to increase the amount of memory and time available for image optimization (this can be a larger number if your host/server will allow):

    define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
    set_time_limit(0);

    • Reduce the number of images optimized simultaneously from 4 down to 1 to ease server load by installing our Bulk Optimization Buffer helper plugin (no action needed, works simply by activating).
    Bulk Optimization Buffer

    • Sometimes when optimization is very slow or not working, it can be due to an image manipulation module your server uses called Imagick. You can try using our Don’t Use Imagick helper plugin to make your server use another module called GD instead (no action needed, works simply by activating).
    Don’t Use Imagick

    • I would also recommend disabling any thumbnail sizes from the “Files Optimization” section that you’re absolutely sure your theme/site doesn’t use. The fewer of these thumbnail sizes that need to be optimized, the lighter the load on your server. With 20 thumbnail sizes enabled for optimization and WebP generation enabled, that means for each original image, 42 individual images need to be either optimized or generated. Given this, the more thumbnail sizes that are enabled for optimization, the harder it can be on your server.

    If the above didn’t resolve your issue, you can install our Imagify Tools plugin, which we have developed to offer more in-depth information about any issues that could be occurring:
    Imagify Tools plugin

    Once installed, go to Imagify Tools > Infos, and let us know if any of the settings are highlighted in red and what error messages are being displayed. Screenshots would be appreciated, if possible. Once we have this information we may be able to offer better advice on how to fix your issue.

    I’ll look forward to your response so we can hopefully get this resolved for you!

    Best Regards,
    Joseph

    Thread Starter dsutoyo

    (@dsutoyo)

    Thanks. The first 3 methods didn’t work so I added the Imagify Tools plugin. I saw two rows in red:

    – Attachments with invalid or missing WP metas = 12 (look like they are the ones in question)
    – Max execution time = 0

    I checked two of the images, both were missing _imagify_status and _imagify_optimization_level. When I ran a bulk optimization, those images came back with an unknown error.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Optimize button does nothing’ is closed to new replies.