Skip to main content

Our email CSS engine is open source. Give it a star on GitHub 

Emailens

object-fit in Gmail Android

Partial object-fit is partly supported in Gmail Android.

Not supported with non Google accounts.

Works in 14 of 21 · partial in 2 · not supported in 5

Which clients
Works
Gmail, Outlook 365, Outlook (New), Outlook iOS, Outlook Android, Outlook for Mac, Apple Mail, Apple Mail iOS, Samsung Mail, Thunderbird, HEY Mail, Proton Mail, Fastmail, Superhuman
Partial
Gmail Android, Gmail iOS
Not supported
Outlook Classic, Yahoo Mail, Yahoo Mail Android, Yahoo Mail iOS, AOL Mail

Your reader in Gmail Android may not see object-fit the way you wrote it, even if it looks right where you tested it.

What to do instead in Gmail Android

Use width/height attributes instead of object-fit

instead
<!-- Crop/resize image server-side to exact dimensions -->
<img src="photo-300x200.jpg" width="300" height="200"
  alt="Photo" style="display: block; border: 0;" />
Show the original
before
<img src="photo.jpg" style="width: 300px; height: 200px;
            object-fit: cover;" />

A free account opens all 21 clients and keeps your checks for 7 days. Create a free account →

What Gmail Android does with object-fit

caniemail record, tested upstream 15 Jul 2021

  • Partial. Not supported with non Google accounts.

Your next question

Every feature in Gmail Android · object-fit in every client

Questions

How many email clients support object-fit?
It works in 14 of 21, partial in 2, not supported in 5.
What do I use instead of object-fit in Gmail Android?
Use width/height attributes instead of object-fit.
Does object-fit work in Gmail iOS?
object-fit is partly supported in Gmail iOS. Closest to Gmail Android: Gmail iOS, which agrees on 273 of the 300 features both are tested on.

To see what else in your email Gmail Android does not support, paste the whole email.

The checker needs a computer screen.

Real captures 14 Oct 2026 on 10 installs · caniemail (MIT) via @emailens/engine 0.18.22 · tested upstream 15 Jul 2021 · data last changed 10 Nov 2026 · Outlook (New) cells are the engine's mapping · the Gmail capture is not counted (it skips Gmail's sanitiser)