Make sure all 3 file types are enabled on the cloud tab, otherwise the plugin is operating in a sort of ‘hybrid’ mode and still checks the local tools.
Yep that did it – thanks.
One feature request:
Would be great to have the ability to use the local server for optimization on a local install (using MAMP Pro) and cloud on a live site. Not sure how you would implement that but obviously I wouldn’t need to pay for image optimization through the cloud on a local site.
As it is now, I have to use the cloud on my local install since I am using WP Migrate DB Pro to push to the live site. If I don’t have EIO set to use the cloud then it will overwrite the settings during migration.
It sucks that Media Temple does not support these optimizer binaries out of the box. Not much I can do as the client is already entrenched on there and on shared hosting.
Anyway, great plugin – I install it on every site I work on 🙂
J
I’m not sure how I would do that either. Does Migrate DB Pro let you execute sql queries after the push?
If so, you could simply inject the cloud key and activate the cloud file type options in the wp_options table.
Unfortunately no – you cannot add a sql query after the push.
Ah, but you can preserve options during the push. I got this back from the developers:
You can use the wpmdb_preserved_options filter to preserve rows within the wp_options table. Take a look at the tweaks plugin for an example:
https://github.com/deliciousbrains/wp-migrate-db-pro-tweaks/blob/master/wp-migrate-db-pro-tweaks.php#L54
You can just download that file, uncomment the appropriate filter, and add these options to the function:
ewww_image_optimizer_cloud_key
ewww_image_optimizer_cloud_jpg
ewww_image_optimizer_cloud_png
ewww_image_optimizer_cloud_gif
ewww_image_optimizer_cloud_png_compress
There are a few more for lossy options, but it doesn’t sound like you’re using those, so no need to preserve them.
Oh that’s perfect. I had no idea that tweaks file even existed.
Thanks for that!! Will give that a go.