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.

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.

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.

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.

常见问题

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

评价

2024年2月9日
I don't know why the settings of this plugin are not obligatory for Wordpress – so I'm much more happy about this tiny plugin! It does the job and that's great!
2023年11月12日
Perfect. Saves a lot of space and no fuss with having to add the code manually. Thnx.
2022年5月4日
A MUST HAVE DONT KNOW WHY THIS IS NOT A WORDPRES DEFAULT FEATURE!
阅读所有18条评价

贡献者及开发者

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

2.0 (2024/02/28)

  • Updates plugin settings page
  • Updates default translation template
  • Improves plugin docs/readme.txt
  • Tests on WordPress 6.5 (beta)

Full changelog @ https://plugin-planet.com/wp/changelog/disable-media-sizes.txt