Title: Optimize button does nothing
Last modified: April 15, 2021

---

# Optimize button does nothing

 *  Resolved [dsutoyo](https://wordpress.org/support/users/dsutoyo/)
 * (@dsutoyo)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/optimize-button-does-nothing/)
 * 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](https://wordpress.org/support/users/wp_media/)
 * (@wp_media)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/optimize-button-does-nothing/#post-14324679)
 * 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](https://www.dropbox.com/sh/aaugvnd8f5d60u1/AABdAPokFc4E3XrCRqQDKIIna/imagify-bulk-optimization-buffer.php.zip?dl=0)
 * • 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](https://www.dropbox.com/sh/aaugvnd8f5d60u1/AADcReBHf7ojShFtb1uzaefea?dl=0&preview=dont-use-imagick.zip)
 * • 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](https://www.dropbox.com/sh/aaugvnd8f5d60u1/AADphF29F3r-7gcLPFkUqnHLa/imagify-tools-1.1.2.zip?dl=0)
 * 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](https://wordpress.org/support/users/dsutoyo/)
 * (@dsutoyo)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/optimize-button-does-nothing/#post-14325086)
 * 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.

 * ![](https://ps.w.org/imagify/assets/icon-256x256.gif?rev=3452959)
 * [Imagify: Optimize Images for Top Speed (Compress & Convert to WebP/AVIF)](https://wordpress.org/plugins/imagify/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/imagify/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/imagify/)
 * [Active Topics](https://wordpress.org/support/plugin/imagify/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/imagify/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/imagify/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [dsutoyo](https://wordpress.org/support/users/dsutoyo/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/optimize-button-does-nothing/#post-14325086)
 * Status: resolved