To disable image sizes in WordPress, install the free Nexter Extension plugin, turn on Disable Image Sizes on the Performance screen, switch on each size you do not want, and click Save.
What It Does
Disable Image Sizes lets you choose which resized copies WordPress should stop creating when you upload an image.
Why It Matters
WordPress creates several resized copies of a large enough upload, and your theme or plugins can register more. Each copy is another file in your uploads folder. If your site never uses a size, you can stop creating it.
What You Get
- A Disable Image Sizes card on the Performance screen
- A Sizes not to generate list with a switch for each size
- Sizes such as thumbnail, medium, medium_large, large, 1536×1536 and 2048×2048, plus sizes added by your theme or plugins
Benefits
- Fewer new files in the uploads folder
- You pick sizes one by one
- No custom code to write
Capabilities
| Action | Result in our test |
|---|---|
| Switch on medium_large, save, then upload a large JPEG | No medium_large copy was created; the other sizes were |
| Turn both image size cards off, then upload again | medium_large was created again |
How It Works
The plugin removes the sizes you switch on from the list WordPress is about to generate. This also covers the WordPress sizes such as thumbnail, medium and large. We tested it with Nexter Extension 4.9.2 on WordPress 7.1.5.
How to Use It
- In your WordPress dashboard, go to Nexter > Extensions and select Performance in the Nexter sidebar.
- Turn on the Disable Image Sizes card. If the panel does not open, click Configure.

- Under Sizes not to generate, switch on each size you want to stop creating. A switch that is on means the size is disabled.
- Click Save.
- Upload a test image and check that your pages still show images as you expect.

Use Cases
- Your theme registers a size that no layout on your site uses
- You want to limit new files on hosting with tight storage
- You replaced a theme and no longer need its extra sizes
Limitations
- It affects files created after you save. It does not delete copies that already exist in your uploads folder.
- Your original upload is not one of the sizes in this list.
- If a theme or plugin asks for a size that was never created, WordPress shows another available file, which can be larger than needed.
- Images uploaded while a size was disabled do not get that size automatically when you enable it again.
Troubleshooting
A disabled size is still in the uploads folder
Check the upload date. Files created before you saved the setting stay in place.
Thumbnail or large copies are still created
Check that the switch for that size is on and that you clicked Save. Also update the plugin: version 4.7.7 fixed a case where Thumbnail, Medium, Medium Large and Large were still generated.
An older image is missing a size you turned back on
Back up your uploads, turn on Regenerate Thumbnails under Utilities, keep that size on under Sizes to regenerate, and click Regenerate.











