object-fit in Gmail
SupportedGmail Web · webmail
Support Details
Use width/height attributes on <img> directly.
Before
<img src="photo.jpg" style="width: 300px; height: 200px;
object-fit: cover;" />After
<!-- Crop/resize image server-side to exact dimensions -->
<img src="photo-300x200.jpg" width="300" height="200"
alt="Photo" style="display: block; border: 0;" />Use width/height attributes instead of object-fit
object-fit is fully supported in Gmail. No workarounds needed.
Other Clients
| Client | Support |
|---|---|
| Gmail Android | Partial |
| Gmail iOS | Partial |
| Outlook 365 | Supported |
| Outlook (New) | Unsupported |
| Outlook Classic | Unsupported |
| Outlook iOS | Supported |
| Outlook Android | Supported |
| Apple Mail | Supported |
| Apple Mail iOS | Supported |
| Yahoo Mail | Unsupported |
| Samsung Mail | Supported |
| Thunderbird | Supported |
| HEY Mail | Supported |
| Superhuman | Supported |
Related Features
Test your email across all 15 clients
Preview rendering, catch CSS issues, and get actionable fixes — free.
Try Emailens Free