- Upload the 'ewww-image-optimizer' plugin to your '/wp-content/plugins/' directory.
- Activate the plugin through the 'Plugins' menu in WordPress.
- Ensure jpegtran, optipng, pngout and gifsicle are installed on your Linux server (basic installation instructions are below if they are not). You will receive a warning when you activate the plugin if they are not present. This message will go away once you have them installed.
- The plugin will attempt to install jpegtran, optipng, and gifsicle automatically for you. This requires that the wp-content folder is writable by the user running the web server.
- If the automatic install did not work, find the appropriate binaries for your system in the ewww-image-optimizer plugin folder, copy them to wp-content/ewww/ and remove the OS 'tag' (like -linux or -fbsd). No renaming is necessary on Windows, just copy the .exe files to the wp-content/ewww folder. IMPORTANT: Do not symlink or modify the binaries in any way, or they will not pass the security checks. If you transfer files via FTP, be sure to transfer in binary mode, not ascii or text.
- If the binaries don't run locally, you can sign up for the EWWW IO cloud service to run them via a third-party server: http://ewww.io/plans/
- Optional Visit the settings page to enable/disable specific tools and turn on advanced optimization features.
EWWW IO Installation and Configuration:
Using EWWW IO:
Pngout is not enabled by default because it is resource intensive. Optipng is the preferred PNG optimizer if you have resource (CPU) constraints. Pngout is also not open-source for those who care about such things, but the command-line version is free.
- Go to the settings page.
- Uncheck the option to disable pngout and Save your settings.
- Click the link in the Plugin Status area to install pngout for your server, and the plugin will download the pngout archive, unpack it, and install the appropriate version for your server.
- Adjust the pngout level according to your needs. Level 0 gives the best results, but can take up to a minute or more on a single image.
Installing (Compiling) other tools