Title: Disable Auto-Sizes
Author: Mukesh Panchal
Published: <strong>ନଭେମ୍ବର 27, 2024</strong>
Last modified: ନଭେମ୍ବର 27, 2024

---

Search plugins

![](https://ps.w.org/disable-auto-sizes/assets/icon.svg?rev=3198129)

# Disable Auto-Sizes

 By [Mukesh Panchal](https://profiles.wordpress.org/mukesh27/)

[Download](https://downloads.wordpress.org/plugin/disable-auto-sizes.1.0.zip)

 * [Details](https://ory.wordpress.org/plugins/disable-auto-sizes/#description)
 * [Reviews](https://ory.wordpress.org/plugins/disable-auto-sizes/#reviews)
 *  [Installation](https://ory.wordpress.org/plugins/disable-auto-sizes/#installation)
 * [Development](https://ory.wordpress.org/plugins/disable-auto-sizes/#developers)

 [Support](https://wordpress.org/support/plugin/disable-auto-sizes/)

## Description

The “Disable Auto-Sizes” plugin prevents WordPress from adding the `auto` keyword
to the `sizes` attribute for images. This ensures full control over the `sizes` 
attribute and is useful for advanced customization or debugging.

### Features

 * Disables the automatic addition of the `auto` value in the `sizes` attribute 
   for `<img>` tags.
 * Lightweight and easy to use.
 * Useful for developers and advanced users managing responsive image behaviors.

## Installation

 1. Download the plugin zip file and extract it.
 2. Upload the extracted folder to the `/wp-content/plugins/` directory on your WordPress
    site.
 3. Log in to your WordPress admin dashboard.
 4. Navigate to **Plugins** > **Installed Plugins**.
 5. Activate the “Disable Auto-Sizes” plugin.

## FAQ

### Why should I disable the `auto` value in the `sizes` attribute?

Disabling the `auto` value gives you full control over the `sizes` attribute for
images. This can help in debugging or custom responsive image implementations.

### Does this affect image rendering in any way?

No, it simply prevents WordPress from adding the `auto` keyword to the `sizes` attribute.
You can still define custom `sizes` attributes as needed.

### Can this plugin be used with all WordPress themes?

Yes, it works with any theme as long as your theme supports WordPress’s native responsive
image functionality.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

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

Contributors

 *   [ Mukesh Panchal ](https://profiles.wordpress.org/mukesh27/)

[Translate “Disable Auto-Sizes” into your language.](https://translate.wordpress.org/projects/wp-plugins/disable-auto-sizes)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/disable-auto-sizes/),
check out the [SVN repository](https://plugins.svn.wordpress.org/disable-auto-sizes/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/disable-auto-sizes/)
by [RSS](https://plugins.trac.wordpress.org/log/disable-auto-sizes/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * Initial release.

## Meta

 *  Version **1.0**
 *  Last updated **1 year ago**
 *  Active installations **50+**
 *  WordPress version ** 6.7.1 or higher **
 *  Tested up to **6.7.5**
 *  PHP version ** 7.2.24 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/disable-auto-sizes/)
 * Tags
 * [auto-sizes](https://ory.wordpress.org/plugins/tags/auto-sizes/)[performance](https://ory.wordpress.org/plugins/tags/performance/)
   [responsive images](https://ory.wordpress.org/plugins/tags/responsive-images/)
 *  [Advanced View](https://ory.wordpress.org/plugins/disable-auto-sizes/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/disable-auto-sizes/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/disable-auto-sizes/reviews/)

## Contributors

 *   [ Mukesh Panchal ](https://profiles.wordpress.org/mukesh27/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/disable-auto-sizes/)