Disable Media Sizes


Easily disable any extra image sizes

This plugin provides options to disable the extra images generated by WordPress.

Options include

  • Disable Thumbnail Size
  • Disable Medium Size
  • Disable Large Size
  • Disable Medium Large (768px)
  • Disable 1536×1536 Size
  • Disable 2048×2048 Size
  • Disable Big/Scaled Size

The plugin settings screen does a good job of explaining the different image sizes. Should all be self-explanatory, let me know if anything can be improved.


  • Lightweight and secure
  • Built with the WP API and standards
  • Simple to use – anyone can do it
  • Easy peasy.

Why is this useful?

This article explains everything you need to know about the “hows” and the “whys” and such.


Please understand that this plugin:

  • Does not affect any existing images
  • Only works while the plugin is active
  • Does not delete any images
  • Only prevents WordPress from generating extra sized images
  • If all extra sizes are disabled, only original images will be uploaded

Learn more about the techniques and code used in this plugin.


This plugin does not collect or store any user data. It does not set any cookies, and it does not connect to any third-party locations. Thus, this plugin does not affect user privacy in any way.

Disable Media Sizes is developed and maintained by Jeff Starr, 15-year WordPress developer and book author.

Support development

I develop and maintain this free plugin with love for the WordPress community. To show support, you can make a donation or purchase one of my books:

And/or purchase one of my premium WordPress plugins:

Links, tweets and likes also appreciated. Thank you! 🙂


  • Plugin settings page


Installing the plugin

Activate like any other plugin and done. Visit the plugin settings page to choose your options.

More info on installing WP plugins

Still getting extra images?

If you are noticing extra images that cannot be disabled by the plugin, most likely they are being generated by some other plugin or maybe your theme. In that case, you would need to do some investigating to determine which plugin or theme is causing it to happen. This plugin disables only the image/sizes that WordPress creates by default. So any extra image sizes added by other plugins and themes will need to be disabled in some other way. If in doubt, ask your plugin or theme provider. They will know the best steps.


To uninstall/remove the plugin, visit the Plugins screen, deactivate and delete the plugin. All plugin options will be removed from the database when the plugin is removed via the Plugins screen. Also, the plugin does not remove any existing images at any time. So it is safe to delete the plugin, it never touches any images.


There are still some extra images generated?

If you are noticing extra images that cannot be disabled by the plugin, most likely they are being generated by some other plugin or maybe your theme. In that case, you would need to do some investigating to determine which plugin or theme is causing it to happen.

Got a question?

Send any questions or feedback via my contact form


4 مَي 2022
12 جنوري 2022
This plugin is dead simple to use. Just install it, fix the settings and forget any unwanted size thumbnails as they will not be generated next time you run wp media regenerate. Thank you dear developer.
8 نومبر 2021
This plugin is really works perfect and help me to remove unnecessary media sizes.
25 آڪٽوبر 2021 1 reply
I was excited when WordPress added responsive images and media queries to its core. Loved it even more when Jeff published this simple yet perfect plugin for managing the generated images in WordPress. It does what it says id does. It disables the extra images generated by WordPress. For my use case I just enabled the thumbnail size. With some planning 320 -> 539 [ mobile -> l-mobile ] // 1 column -> content: 525px 540 -> 759 [ l-mobile -> tablet ] // 1 column -> content: 703px 760 -> 979 [ tablet -> l-tablet ] // 1 column -> content: 923px 980 -> 1199 [ l-tablet -> desktop ] // 2 columns -> content: 850px 1200 -> 1419 [ desktop -> l-desktop ] // 2 columns -> content: 974px 1420 -> 1639 [ l-desktop -> wide ] // 2 columns -> content: 1139px 1640 -> 1859 [ wide -> l-wide ] // 2 columns -> content: 1139px 1860 -> [ l-wide -> infinity ] // 2 columns -> content: 1139px some theme support add_image_size( 'themename-blog-image-mobile', 525, 0, false ); add_image_size( 'themename-blog-image-l-mobile', 703, 0, false ); add_image_size( 'themename-blog-image-tablet-l-tablet', 923, 0, false ); add_image_size( 'themename-blog-image-desktop', 974, 0, false ); add_image_size( 'themename-blog-image-l-desktop', 1139, 0, false ); some image sizes $sizes = (max-width: 539px) calc(100vw - 7px*2), (max-width: 759px) calc(100vw - 28px*2), (max-width: 979px) calc(100vw - 28px*2), (max-width: 1199px) 850px, (max-width: 1419px) 973px, 1139; and Jeff's plugin, you can have WordPress do whatever you want with responsive images. 10/10
جمع: سڀ 14 تبصرا پڙهو

تعاون ڪندڙ & ڊولپرز

“Disable Media Sizes” اوپن سورس سافٽ ويئر آهي. ھيٺين ماڻھن ھن پلگ ان ۾ حصو ورتو آھي.

تعاون ڪندڙ

جمع: “Disable Media Sizes” 4 جڳهن ۾ ترجمو ڪيو ويو آهي. ترجمي ڪندڙن جي مهرباني سندن تعاون لاءِ.

ترجمو ڪريو “Disable Media Sizes” توهان جي ٻولي ۾.

ڊولپمينٽ ۾ دلچسپي؟

ڪوڊ براؤز ڪريو، چيڪ ڪريو SVN مخزن، يا رڪنيت حاصل ڪريو ڊولپمينٽ لاگ پاران RSS.

لاگ تبدیل ڪريو

If you like Disable Media Sizes, please take a moment to give a 5-star rating. It helps to keep the plugin going strong, and is greatly appreciated.

1.6.1 (2022/01/10)

  • Adds “rate plugin” link on Plugins screen
  • Adds shortcut to Settings on Plugins screen
  • Adds “Show Support” link to plugin settings
  • Adds custom footer text to plugin settings
  • Improves plugin documentation
  • Updates translation template
  • Tests on WordPress 6.1

1.6 (2022/01/10)

  • Tests on WordPress 6.0

1.5 (2022/01/10)

  • Updates some links to external resources
  • Tests on WordPress 5.9

1.4 (2021/07/13)

  • Generates new default translation template
  • Adds link to rate plugin
  • Tests on WordPress 5.8

1.3 (2021/02/08)

  • Tests on PHP 7.4 and 8.0
  • Tests on WordPress 5.7

1.2 (2020/11/09)

  • Adds support for language translations
  • Adds languages directory and default translation file
  • Tests on PHP 7.4 and 8.0
  • Tests on WordPress 5.6

1.1 (2020/08/04)

  • Adds notes to plugin settings page
  • Updates link to the plugin homepage
  • Adds screenshot to readme/docs
  • Tests on WordPress 5.5

1.0 (2020/07/28)

  • Initial release