Skip to content

Using Smush to optimize images on your site

Guides Updated

Introduction

The Smush plugin for WordPress makes it possible to optimize all of your site’s images without a visible drop in quality. There’s also an option for lossless compression which compresses images without affecting the image quality. Other features of Smush include removing EXIF data from images, resizing images and enabling lazy loading.

Smush comes as a freemium plugin, and while the basic version provides the most important features it was limited to images up to 1MB when this guide was written in August 2022; check the Smush plugin page for its current limits. Their premium plugin Smush Pro removes this limit and adds additional features including the conversion of PNGs to JPEGs and the serving of WebP images.

Setting up Smush

Step 1

Install Smush from the WordPress directory by searching for “Smush” and clicking Install now. Make sure the plugin author is listed as “WPMU DEV” since there are multiple plugins with similar names. Once installed, make sure to click Activate.

Smush plugin by WPMU DEV in the WordPress plugin search results with the Install Now button.

Step 2

In WP-Admin, go to the Smush Dashboard from the navigation sidebar. The first time, you will be greeted with a quick setup wizard.

Smush setup wizard welcome screen with the Begin Setup button.

Click Begin Setup and make sure Automatically optimize new uploads is checked. Then continue with the suggested defaults and finish by clicking Finish setup wizard.

This will start a process that will scan your site’s existing images to determine which ones need compressing.

Smush checking which existing images need compressing.

Step 3

Now that Smush has been configured, you can start compressing your existing images by visiting Smush > Bulk Smush.

Smush Bulk Smush page showing 6 attachments to compress and the Bulk Smush Now button.

Simply click Bulk Smush Now to start the process.

Smush bulk compression in progress at 0 of 6 images.

Note: by default, new uploads will be compressed automatically. This can be disabled by unchecking Automatically compress my images on upload from the Bulk Smush settings.

For alternatives, see the guides for EWWW Image Optimizer, which can compress images on your own server, and for Cloudinary.

For detailed information about the Smush plugin for WordPress, have a look at their full documentation.

Setup and settings for the plugin and Staatic Cloud, step by step.

Documentation

Static WordPress SEO checklist

Keep canonical URLs, sitemaps, redirects, preview controls, and Search Console visibility intact when publishing WordPress as a static site.

Advanced publication process customization

Use Staatic hooks to fine-tune crawling, URL handling, and publication behavior beyond the settings screen, for sites with unusual routing or deployment.

See all guides See all articles

Try Staatic on your own site, free for 14 days

Publish your WordPress site as finished pages and see the difference on your own content.

  • No payment details needed
  • The trial ends automatically
  • You keep editing in WordPress