Hi @mohiton7!
This is Joseph from Imagify, and I’ll gladly assist you here!
I have a few suggestions that may help optimization work better for you:
Add the following to your wp-config.php file to increase the amount of memory and time available for image optimization:
define( ‘WP_MEMORY_LIMIT’, ‘256M’ );
set_time_limit(0);
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.
Sometimes when optimization is very slow, it can be due to an image manipulation module your server uses called Imagick. You can try using the following helper plugin to make your server use another module called GD instead:
https://www.dropbox.com/sh/aaugvnd8f5d60u1/AADcReBHf7ojShFtb1uzaefea?dl=0&preview=dont-use-imagick.zip
Regarding the WebP images not displaying for you, have you tried to the “Use rewrite rules” option in your Imagify plugin settings page? As long as you don’t use a CDN, Cloudflare, or certain cache services like Varnish (as these conflict and may cause image display issues, especially in Safari browsers), this can be a quick fix for this issue.
It’s worth noting that using the rewrite rules option will result in your HTML code appearing to display the JPG or PNG versions of images, though the rewrite rules work to ensure the WebP images are actually being served to users’ browsers. You can follow this guide for ensuring WebP images are being served: https://imagify.io/documentation/how-to-check-if-webp-image-is-displayed-on-your-site/.
One other thing to note is that if you are running on Nginx server, you will need to manually add the rewrite rules to your nginx.config file. You can view this page for more information on that: https://imagify.io/documentation/my-images-are-broken/.
Thanks so much for using Imagify, and please let me know if there is anything else I can assist you with!
Best regards,
Joseph