=== Disable Media Sizes === Plugin Name: Disable Media Sizes Plugin URI: https://perishablepress.com/wordpress-disable-media-sizes/ Description: Provides options to disable the extra images generated by WordPress. Tags: media, images, disable Author: Jeff Starr Author URI: https://plugin-planet.com/ Donate link: https://monzillamedia.com/donate.html Contributors: specialk Requires at least: 5.3 Tested up to: 6.2 Stable tag: 1.7 Version: 1.7 Requires PHP: 5.6.20 Text Domain: disable-media-sizes Domain Path: /languages License: GPL v2 or later Provides options to disable the extra images generated by WordPress. == 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 1536x1536 Size * Disable 2048x2048 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](https://perishablepress.com/disable-wordpress-generated-images/) 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](https://perishablepress.com/disable-wordpress-generated-images/) 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](https://twitter.com/perishable), 15-year [WordPress developer](https://plugin-planet.com/) and [book author](https://books.perishablepress.com/). **Support development** I develop and maintain this free plugin with love for the WordPress community. To show support, you can [make a donation](https://monzillamedia.com/donate.html) or purchase one of my books: * [The Tao of WordPress](https://wp-tao.com/) * [Digging into WordPress](https://digwp.com/) * [.htaccess made easy](https://htaccessbook.com/) * [WordPress Themes In Depth](https://wp-tao.com/wordpress-themes-book/) * [Wizard's SQL Recipes for WordPress](https://books.perishablepress.com/downloads/wizards-collection-sql-recipes-wordpress/) And/or purchase one of my premium WordPress plugins: * [BBQ Pro](https://plugin-planet.com/bbq-pro/) - Super fast WordPress firewall * [Blackhole Pro](https://plugin-planet.com/blackhole-pro/) - Automatically block bad bots * [Banhammer Pro](https://plugin-planet.com/banhammer-pro/) - Monitor traffic and ban the bad guys * [GA Google Analytics Pro](https://plugin-planet.com/ga-google-analytics-pro/) - Connect WordPress to Google Analytics * [Simple Ajax Chat Pro](https://plugin-planet.com/simple-ajax-chat-pro/) - Unlimited chat rooms * [USP Pro](https://plugin-planet.com/usp-pro/) - Unlimited front-end forms Links, tweets and likes also appreciated. Thank you! :) == Screenshots == 1. 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](https://wordpress.org/support/article/managing-plugins/#installing-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. == Upgrade Notice == To upgrade this plugin, remove the old version and replace with the new version. Or just click "Update" from the Plugins screen and let WordPress do it for you automatically. == Frequently Asked Questions == **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](https://plugin-planet.com/support/#contact) == Changelog == If you like Disable Media Sizes, please take a moment to [give a 5-star rating](https://wordpress.org/support/plugin/disable-media-sizes/reviews/?rate=5#new-post). It helps to keep the plugin going strong, and is greatly appreciated. **1.7 (2023/02/26)** * Improves logic when calling `get_current_screen()` * Tests on WordPress 6.1 + 6.2 (beta) * Tests on PHP 8.1 and 8.2 **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