Disable Media Sizes

Description

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.

Features

  • 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.

Important

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.

Privacy

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.

This plugin is developed and maintained by Jeff Starr, 10-year WordPress developer, security specialist, and book author.

Screenshots

  • Plugin settings page

Installation

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.

Uninstalling

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.

FAQ

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

Reviews

March 1, 2021
Thank you for this plugin! It's so simple to use and is a great help with getting control over some of the unnecessary image sizes that are generated in WordPress. Much appreciated!
February 19, 2021
Jeff is a seasoned developer with a long history and a few books written. The plugin does what is promised and you can trust him more than WordPress itself. If you look at the code, you might even learn some good practice on how to write good plugins!
September 20, 2020
This plug-in is really great, it saves a lot of space for my server, but it does not support other languages, and I can't even use translation software to translate it. Hope the next version can build a pot file, thank you very much!
September 1, 2020
An essential plugin for controlling how WordPress handles uploads to the Media Library, adds the settings that should be in the Admin interface but inexplicably aren't. Greatly appreciated.
Read all 6 reviews

Contributors & Developers

“Disable Media Sizes” is open source software. The following people have contributed to this plugin.

Contributors

“Disable Media Sizes” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Disable Media Sizes” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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