EWWW Image Optimizer automatically compresses your JPG, PNG, SVG, PDF and GIF files and adjusts them for sensitive viewing. It also allows you to set up any folder in your WordPress installation for optimization, including theme images, BuddyPress avatars, bbPress plugins, and more.
EWWW IO is the only plugin that allows you to optimize images using your own server tools (jpegtran, optipng, pngout, pngquant, gifsicle, cwebp). If you feel like you need more speed, get more compression and bring the CPU-intensive optimization process to dedicated servers.
Without further intervention in the settings
EWWW Image Optimizer – Another great option that is completely free. Optimization takes place directly on your server, so you don’t have to connect via API or create an account, but you get additional features. With EWWW Image Optimizer, you basically don’t have to worry about anything and everything else will be taken care of by the plugin itself after the initial setup at will.
This plugin, which creates these functions for you, is free to download in every WordPress administration in the “Plugins” and »Plugin Installation” categories, which can be found immediately after logging in to the web administration. You can search for the plugin under the name »EWWW Image Optimizer«.