Wordpress Plugin for Image Optimization. You have to install JPEGOptim and OptiPNG on serverside.
- Unzip and upload the plugin to the /wp-content/plugins/ directory
- Activate the plugin in WordPress
- Got to plugins page and use the optimization.
- Add the repo to your composer.json
"repositories": [
{
"type": "vcs",
"url": "https://github.com/fafiebig/faf-optim.git"
}
],
- require the package with composer
composer require fafiebig/faf-optim 1.*