---
id: "sizes-auto"
kind: "web-feature"
canonical: "https://timetostable.com/feature/sizes-auto"
baseline: "limited"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# <img sizes="auto" loading="lazy"> (`sizes-auto`)

The sizes="auto" attribute for the <img> HTML element sets the layout size for the image based on the computed layout size when choosing a source from the srcset. This attribute only applies to images with the loading="lazy" attribute.

- **Group**: Images
- **Baseline**: Limited Availability
- **Specification**: https://html.spec.whatwg.org/multipage/images.html#valdef-sizes-auto
- **Constituent BCD keys**: 1

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Chrome | 126 | 2024-06-11 |
| Chrome Android | 126 | 2024-06-11 |
| Edge | 126 | 2024-06-13 |
| Firefox | 150 | 2026-04-21 |
| Firefox for Android | 150 | 2026-04-21 |

