Skip to content
Nazmul Nikhil
Menu

Displays Images With Incorrect Aspect Ratio (PageSpeed Insights)

PageSpeed flags images stretched or squashed out of their natural shape. Here's how to fix them with object-fit or correct dimensions.

Nazmul Nikhil

By

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

Published 1 min read
Displays Images With Incorrect Aspect Ratio (PageSpeed Insights)
Photo: Jorge Campos on Unsplash

In short

PageSpeed flags images whose displayed shape differs noticeably from the file's real shape, so they look stretched or squashed. It's usually CSS forcing both width and height, or wrong width/height attributes. Keep the natural ratio, or crop with object-fit: cover. This check counts toward Best Practices.

In passed form: "Displays images with correct aspect ratio."

.card img { width: 100%; height: 220px; object-fit: cover; }

Also make sure the width and height attributes match the file's real proportions.

WordPress: check theme CSS for thumbnails and logos. Shopify: collection grid images with fixed heights. Webflow: set "Fit: cover" on image elements. Wix: use crop or "fill" settings.

This guide isn't affiliated with or endorsed by Google.

Sources and references

TAGSPageSpeed InsightsDisplays images with incorrect aspect ratioImage aspect ratioStretched images
Nazmul Nikhil

About the author

Nazmul Nikhil

Head of SEO & Assistant Manager, Digital Marketing at Notionhive

SEO and AI search consultant in Dhaka, Bangladesh, helping small and mid-size businesses in the USA, UK, Australia and Canada.

Need help with this?

Get it fixed with Technical SEO

I find the issues that cost you traffic and fix them, starting with the pages that matter most.

Keep reading

Related articles

All Page Speed & Core Web Vitals posts →

Get the next guide in your inbox

One email when a new SEO or AI search guide goes live.

Ready to grow?

Get a free audit of your website, or book a 30-minute call to talk through your goals.

Nazmul Hasan

Talk to Nazmul directly

Reply within 24h

WhatsApp +880 1682835118
nazmulnikhil@gmail.com