Plugins Plugin hub Backup SEO Caching Security Forms WooCommerce Images Best backup plugins
Hosting Hosting directory Shared hosting Managed WordPress Cloud hosting VPS hosting By reader location Hosting finder
Themes & builders Compare Rank Math vs Yoast
Tools All tools Hosting finder Plugin stack builder Cost calculator Salt generator Theme detector Who is hosting this? Speed test Headline analyzer robots.txt generator Redirect generator Uptime calculator Blog name generator
Blog Best backup plugins Deals
Guides All guides Speed up WordPress Choose hosting Back up WordPress
How we test

Speed & performance · Guide

How to Use Smush Plugin in WordPress: A Beginner's Guide

How to Use Smush Plugin in WordPress: A Beginner's Guide

Short answer

Install Smush from Plugins, Add New Plugin and run the setup wizard to turn on automatic compression, metadata removal and lazy loading. Then open Bulk Smush to compress images already in your media library. Set a maximum image size, exclude your top image from lazy loading, and check savings on the Smush dashboard.

Key takeaways

  • Smush compresses, resizes and lazy loads images to speed up pages.
  • Turn on automatic compression so new uploads are optimized.
  • Use Bulk Smush for images already in the media library.
  • Lossy levels save more space with little visible change.
  • Exclude your logo and hero image from lazy loading.
  • Run only one image optimization plugin at a time.

What does the Smush plugin do?

Smush compresses and resizes the images on your WordPress site so they load faster, and it adds lazy loading and other image speed features without you editing code.

Large images are one of the most common reasons a WordPress page loads slowly. A photo straight from a phone can be several megabytes. Smush shrinks those files while keeping them looking the same to visitors.

Its main features are:

  • Compression. Removes extra data from image files to make them smaller.
  • Automatic compression on upload. New images are optimized as you add them.
  • Bulk Smush. Optimizes images already in your media library.
  • Resizing. Scales down very large originals to a sensible maximum size.
  • Lazy loading. Loads images only when they are about to scroll into view.
  • Next-gen formats. Serves WebP or similar formats, depending on your plan.

For a deeper explanation of each feature, see our overview of what Smush does. This guide shows how to set it up and use it day to day.

How do you install Smush?

Go to Plugins > Add New Plugin, search for Smush, click Install Now on the plugin by WPMU DEV, and then Activate.

Steps:

  1. In WordPress, go to Plugins > Add New Plugin.
  2. Search for Smush.
  3. Find Smush Image Optimization by WPMU DEV.
  4. Click Install Now, then Activate.

The free version is listed on the WordPress.org plugin directory. A Pro version adds features like a CDN and higher compression levels. Our guide on whether Smush is free explains the differences.

Once activated, a Smush menu appears in your dashboard sidebar.

How do you run the Smush setup wizard?

After activation, Smush opens a short setup wizard that asks which main features to turn on, such as automatic compression, metadata removal and lazy loading.

The wizard usually covers:

  1. Automatic compression. Turn on so new uploads are optimized.
  2. Strip metadata. Removes camera details and other hidden data from photos.
  3. Lazy load. Delays offscreen images until needed.
  4. Usage tracking. An optional choice to share anonymous data with the developer.

You can change every choice later from the Smush settings, so do not worry about getting it perfect. If you skip the wizard, the same options are on the Smush screens.

How do you compress your existing images with Bulk Smush?

Open the Bulk Smush screen in the Smush menu and click the button to start, then keep the tab open until it finishes going through your media library.

Steps:

  1. Go to Smush in the sidebar and open Bulk Smush.
  2. Review the compression settings on the page.
  3. Click the start button for bulk optimization.
  4. Wait while Smush works through your images.

On a large library, this can take a while. Leave the browser tab open unless your version supports background processing, which lets you close it.

Back up your site before bulk compressing for the first time. Our guide on how to back up a WordPress site covers the options. Smush can keep original images in some setups, but a backup is the safer net.

Which compression level should you choose?

Lossless compression keeps every pixel the same, while lossy levels shrink files more by removing detail most people cannot see, so most sites are fine with a lossy level.

Smush offers different levels depending on your version and plan. The general difference is:

Level typeFile size savingsVisible quality changeGood for
LosslessSmallNonePhotography portfolios, product detail shots
Lossy (moderate)Medium to largeUsually noneMost blogs and business sites
Highest lossy levelLargestPossible on close inspectionImage-heavy sites focused on speed

Check the Smush settings screen to see which levels your plan includes. Test a few images at your chosen level and compare them side by side before running it across the whole library.

For a comparison of results against another tool, see our Smush vs ShortPixel compression test.

How do you resize large images in Smush?

Turn on the resize option in Smush settings and set a maximum width and height, so huge uploads are scaled down to a size your theme actually uses.

A typical blog theme displays images at less than 1,500 pixels wide. Uploading a 4,000-pixel photo wastes space and bandwidth.

Pick a maximum width a little larger than your widest content area. Images above that size are scaled down when compressed.

WordPress itself also scales very large uploads down automatically and creates several smaller sizes for each image. Our guide on WordPress image size settings explains how those sizes work.

Smush also has an image resize detection tool in some versions. It highlights images on the front end that are being shown smaller than their real size, so you can fix them.

How do you set up lazy loading in Smush?

Turn on lazy loading in the Smush lazy load screen, choose which image types and output areas to include, and exclude images at the top of the page.

Lazy loading means images below the fold only load when a visitor scrolls near them. This speeds up the first view of the page.

Key settings:

  • Media types. Choose which formats to lazy load, such as JPEG, PNG, WebP and iframes.
  • Output locations. Content, widgets, thumbnails and more.
  • Exclusions. Skip specific pages, classes or image IDs.
  • Display animation. A fade-in or placeholder while images load.

Do not lazy load the main image at the top of the page. It hurts the Largest Contentful Paint score. Exclude your logo and hero image.

WordPress also adds native lazy loading to images by default. Google explains the browser feature in its article on browser-level image lazy loading. Our guide on how to lazy load images in WordPress covers when to rely on each method.

How do you serve WebP images with Smush?

Smush can serve WebP versions of your images through its local WebP feature or its CDN, depending on your plan, so browsers that support WebP get smaller files.

WebP files are usually smaller than JPEG or PNG at similar quality. MDN's image file type guide compares the common formats.

Local WebP conversion may need server rules to work. On Apache servers, Smush can often add them for you.

On Nginx, you may need to add rules yourself or ask your host. Smush shows the steps in its next-gen formats screen.

For the bigger picture on formats, read our guide on serving images in next-gen formats.

How do you check that Smush is working?

Look at the Smush dashboard for total savings, check individual images in the media library, and run a page speed test before and after.

Ways to confirm:

  • Smush dashboard. Shows total savings and how many images are optimized.
  • Media library list view. Shows a Smush column with savings for each image.
  • Page speed test. Run a test on PageSpeed Insights before and after, and look at the image-related suggestions.

If savings look small, your images may already be well compressed, or you may be on a lossless level. Switching to a lossy level usually helps.

What are common Smush problems and fixes?

Most Smush issues come from bulk jobs stopping, images not showing after WebP or lazy load changes, or conflicts with another image or speed plugin.

ProblemLikely causeFix
Bulk Smush stops partwayBrowser tab closed or server timeoutResume the job, keep tab open
Images missing after enabling lazy loadConflict with theme or another lazy loaderTurn off one lazy loader
WebP images not servedServer rules missingFollow Smush's server rule steps
Blurry imagesToo-high lossy level or small max sizeLower the level, raise the max size
No savings shownImages already optimizedTry a lossy level

Run only one image optimization plugin at a time. Two tools compressing the same files can degrade quality and waste resources.

If images look soft after optimizing, our guide on why WordPress images are blurry covers other causes too.

Which Smush settings matter most?

For most sites, the settings that matter most are automatic compression, a sensible resize limit, metadata removal and lazy loading with the top image excluded.

Once those are set, you rarely need to return to Smush. New uploads are handled automatically.

For a full explanation of every option on each Smush screen, see our Smush settings explained guide. The official Smush documentation from WPMU DEV also covers each screen in detail.

Frequently asked questions

Is Smush safe to use on existing images?

Yes, for most sites. Smush is widely used and compression is designed to keep images looking the same. Still, back up your site before your first bulk run, and test your chosen compression level on a few images first.

Does Smush work automatically on new uploads?

Yes, when automatic compression is turned on. New images are optimized as soon as you upload them to the media library, so you only need Bulk Smush for images that were already there.

Should I use Smush lazy loading if WordPress already lazy loads?

You can use either, but not both on the same images. WordPress adds native lazy loading by default. Smush offers extra controls like exclusions and animations. If you turn on Smush lazy loading, check pages for missing images.

Why did my images get blurry after using Smush?

A high lossy level or a small maximum resize value can soften images. Lower the compression level, raise the maximum dimensions and re-upload affected images. Also check the theme is not showing a smaller image size than needed.

Can I use Smush with another image optimization plugin?

It is not recommended. Two optimizers can compress the same files twice, which lowers quality and wastes server resources. Choose one tool for compression and turn off image features in other plugins.

Sources

  1. Smush Image Optimization WordPress.org
  2. Smush documentation WPMU DEV
  3. Browser-level image lazy loading web.dev
  4. Image file type and format guide MDN Web Docs
  5. PageSpeed Insights Google

Is your product missing, or something out of date?

Tell us what to add or correct. We read every note and reply when we need a source. A message does not buy a ranking.

About the editors

Written and checked byWPLegible Editorial Team Independent WordPress reviews and guides

Researched from the primary sources listed above and checked against our editorial rules before publishing.