Shopify image dimensions and Cumulative Layout Shift

Explicit width and height attributes (89.1%), CSS aspect-ratio (4.0%), and unsized <img> tags (73.9%): how reserving image boxes moves Cumulative Layout Shift.

Field data PhoneDesktopAll Scope All sites October 2026 edition · Desktop field outcomes · Shopify sites only
Shopify Scoped to 8,248 sites out of 203,892 analyzed (cms) Compare with all sites →

89.1% of Shopify sites use explicit width and height image dimension sizing, and 86% of those sites have a good CLS, against 86% of all Shopify sites.

The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,223 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
1

CLS pass rate

Sites with explicit width and height image dimension sizing have a good CLS most often: 86%, against 86% of all Shopify sites. Sites with CSS aspect-ratio image dimensions have it least often, at 81%.

SitesGood, needs improvement, poor CLSMedian
All Shopify sites3,81886%0.02
Explicit width & height attributes 89.1%3,46986%0.02
Unsized <img> (no width/height or aspect-ratio) 73.9%2,96984%0.03
CSS aspect-ratio only 4.0%18781%0.03
GoodNeeds improvementPoorSites: with Chrome field data
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,223 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
2

Image dimension sizing usage

Explicit width and height is the most used: 89.1% of Shopify sites.

Sites using each option (sites can use more than one) 8,223 sites
Explicit width & height attributes 89.1% Unsized <img> (no width/height or aspect-ratio) 73.9%
Explicit width & height attributes 89.1% Unsized <img> (no width/height or aspect-ratio) 73.9% CSS aspect-ratio only 4.0%
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,223 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
3

Image dimension sizing per framework

Vue sets the image dimension sizing to explicit width and height on 93% of its sites, and 80% of Vue sites have a good CLS, against 86% of all sites. jQuery sets the image dimension sizing to unsized <img> on 89% of its sites, and 80% of jQuery sites have a good CLS.

FrameworkImage dimension sizing on its sitesGood CLS
Shopify sites with image dimension sizing 8,223 sitesExplicit width & height attributes 89%Unsized <img> (no width/height or aspect-ratio) 74%86%
jQuery 3,144 sitesUnsized <img> (no width/height or aspect-ratio) 89%Explicit width & height attributes 76%80%
Vue 933 sitesExplicit width & height attributes 93%Unsized <img> (no width/height or aspect-ratio) 83%80%
Explicit width & height attributes Unsized <img> (no width/height or aspect-ratio) CSS aspect-ratio only
The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,223 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
4

Image dimension sizing or the framework

Does the framework explain the image dimension sizing difference?

On jQuery, 81% of sites with explicit width and height image dimension sizing have a good CLS, against 79% of jQuery sites with unsized <img>. Within jQuery, sites with explicit width and height and unsized <img> have a good CLS about equally often. On Vue, 81% of sites with explicit width and height image dimension sizing have a good CLS, against 80% of Vue sites with unsized <img>. Within Vue, sites with explicit width and height and unsized <img> have a good CLS about equally often.

How browsers compute intrinsic aspect ratios from HTML width and height

User-agent stylesheets map HTML width and height attributes directly to an internal aspect-ratio property before the image file downloads. Across the web, 89.1% of sites size images with HTML width and height (86% good CLS), while 73.9% still include at least one unsized <img> (84% good CLS) and 4.0% use CSS aspect-ratio without HTML attributes (81% good CLS).

The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,223 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
5

Understanding image dimension sizing

Set explicit width and height attributes on every <img> element so the browser reserves its aspect ratio before stylesheets or image bytes arrive. Across all audited sites, 89.1% include explicitly sized images (86% good CLS), whereas 73.9% still ship at least one unsized image (84% good CLS) and 4.0% rely solely on CSS aspect-ratio (81% good CLS).

The State of Web Vitals · October 2026 · Shopify: 8,246 crawled sites · 3,818 with desktop field data · 8,223 sites with image dimension sizingBy Arjen Karel · corewebvitals.io/state-of-cwv
Related signals Fonts per page → DOM size → Bytes by resource type → Images per page → By Arjen Karel · 8,246 crawled Shopify sites (3,818 with desktop Chrome field data, 8,223 sites with image dimension sizing, October 2026) · How we measured