{"id":214053,"date":"2024-11-27T10:51:29","date_gmt":"2024-11-27T10:51:29","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/disable-auto-sizes\/"},"modified":"2024-11-27T12:27:44","modified_gmt":"2024-11-27T12:27:44","slug":"disable-auto-sizes","status":"publish","type":"plugin","link":"https:\/\/ast.wordpress.org\/plugins\/disable-auto-sizes\/","author":9399393,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0","stable_tag":"1.0","tested":"6.7.5","requires":"6.7.1","requires_php":"7.2.24","requires_plugins":null,"header_name":"Disable Auto-Sizes","header_author":"Mukesh Panchal","header_description":"A simple plugin to disable the automatic addition of the `auto` value in the `sizes` attribute for images.","assets_banners_color":"","last_updated":"2024-11-27 12:27:44","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":50,"downloads":1041,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"mukesh27","date":"2024-11-27 12:27:44"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":3198129,"resolution":false,"location":"assets","locale":false}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[223849,247,2698,235139],"plugin_category":[54],"plugin_contributors":[133112],"plugin_business_model":[],"class_list":["post-214053","plugin","type-plugin","status-publish","hentry","plugin_tags-auto-sizes","plugin_tags-performance","plugin_tags-responsive-images","plugin_tags-sizes-attribute","plugin_category-security-and-spam-protection","plugin_contributors-mukesh27","plugin_committers-mukesh27"],"banners":[],"icons":{"svg":"https:\/\/ps.w.org\/disable-auto-sizes\/assets\/icon.svg?rev=3198129","icon":"https:\/\/ps.w.org\/disable-auto-sizes\/assets\/icon.svg?rev=3198129","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The \"Disable Auto-Sizes\" plugin prevents WordPress from adding the <code>auto<\/code> keyword to the <code>sizes<\/code> attribute for images. This ensures full control over the <code>sizes<\/code> attribute and is useful for advanced customization or debugging.<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Disables the automatic addition of the <code>auto<\/code> value in the <code>sizes<\/code> attribute for <code>&lt;img&gt;<\/code> tags.<\/li>\n<li>Lightweight and easy to use.<\/li>\n<li>Useful for developers and advanced users managing responsive image behaviors.<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin zip file and extract it.<\/li>\n<li>Upload the extracted folder to the <code>\/wp-content\/plugins\/<\/code> directory on your WordPress site.<\/li>\n<li>Log in to your WordPress admin dashboard.<\/li>\n<li>Navigate to <strong>Plugins<\/strong> &gt; <strong>Installed Plugins<\/strong>.<\/li>\n<li>Activate the \"Disable Auto-Sizes\" plugin.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='why%20should%20i%20disable%20the%20%60auto%60%20value%20in%20the%20%60sizes%60%20attribute%3F'><h3>Why should I disable the `auto` value in the `sizes` attribute?<\/h3><\/dt>\n<dd><p>Disabling the <code>auto<\/code> value gives you full control over the <code>sizes<\/code> attribute for images. This can help in debugging or custom responsive image implementations.<\/p><\/dd>\n<dt id='does%20this%20affect%20image%20rendering%20in%20any%20way%3F'><h3>Does this affect image rendering in any way?<\/h3><\/dt>\n<dd><p>No, it simply prevents WordPress from adding the <code>auto<\/code> keyword to the <code>sizes<\/code> attribute. You can still define custom <code>sizes<\/code> attributes as needed.<\/p><\/dd>\n<dt id='can%20this%20plugin%20be%20used%20with%20all%20wordpress%20themes%3F'><h3>Can this plugin be used with all WordPress themes?<\/h3><\/dt>\n<dd><p>Yes, it works with any theme as long as your theme supports WordPress's native responsive image functionality.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"A lightweight plugin to disable the automatic addition of the auto value in the sizes attribute for images in WordPress.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/214053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=214053"}],"author":[{"embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/mukesh27"}],"wp:attachment":[{"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=214053"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=214053"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=214053"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=214053"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=214053"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ast.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=214053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}