Skip to main content

object-fit in Outlook 365

SupportedOutlook 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 Outlook 365. No workarounds needed.

Other Clients

ClientSupport
GmailSupported
Gmail AndroidPartial
Gmail iOSPartial
Outlook (New)Unsupported
Outlook ClassicUnsupported
Outlook iOSSupported
Outlook AndroidSupported
Apple MailSupported
Apple Mail iOSSupported
Yahoo MailUnsupported
Samsung MailSupported
ThunderbirdSupported
HEY MailSupported
SuperhumanSupported

Related Features

Test your email across all 15 clients

Preview rendering, catch CSS issues, and get actionable fixes — free.

Try Emailens Free