wp-media / imagify-plugin

Speed up your website with lighter images without losing quality.
https://imagify.io
69 stars 24 forks source link

Add an Option to Manually Stop Optimization of Images #642

Open joejoe04 opened 2 years ago

joejoe04 commented 2 years ago

When optimization is not working for various reasons, the user can see the "Optimizing..." happening and it can take a long time for it to fail:

image

This could be due to issues like cURL error 28 / timeouts. It could be related to a possibly different issue where optimization hangs for many minutes without returning any error: https://github.com/wp-media/imagify-plugin/issues/641

If either the user or support team is trying to debug an issue with optimization, when you try optimizing an image, it can be clear that whatever changes were tried are not working after so long, but there's currently no way to stop the optimization attempt manually.

It could be helpful in some cases to have the ability to stop or cancel the optimization attempt manually.