Mistakes · 2026-12-01
Image optimization pipeline mistakes: where the process usually breaks down
Image pipelines break down at the exceptions: the hero video nobody counted, the lookbook upload that bypassed the pipeline, the app that re-serves its own unoptimized copies. The process usually fails where a human uploads directly, which is why the breakdown reads like a governance problem and measures like a speed problem.
The facts underneath the failures
- Shopify's CDN serves responsive image sizes and modern formats such as WebP automatically when images are requested through its image URLs and the image_tag or image_url filters with width parameters.
- The LCP element on collection and product pages is typically the hero or first product image; LCP is judged against 2.5 seconds at the 75th percentile.
- Images without width and height attributes or CSS aspect ratios cause layout shift as they load, counting against the CLS threshold of 0.1.
- Hero video is the common LCP failure on collection pages: a poster frame may paint first, but the video's weight and autoplay work press on load and on INP through main-thread work.
- Responsive markup, srcset with sizes, lets the browser pick a derivative matched to the device instead of downloading desktop-sized images on phones.
Letting hero video carry the collection page
A video hero loads its stack before the page settles, and autoplay keeps the main thread working against INP. Stores chase image compression for months while the largest cost sits in the hero. Test a still hero; the LCP difference usually ends the argument.
Uploading masters far beyond the display size
Oversized originals get downloaded whenever markup or an app requests the wrong derivative, and they slow every tool that touches the library. Cap masters at what the largest slot needs and let the CDN derive the rest.
Shipping images without dimensions
No width and height, no reserved space, and every image load shoves the page. On a collection grid that is dozens of shifts, scored against a CLS budget of 0.1. It is the cheapest failure in the pipeline to fix and the most common to find.
Lazy-loading the hero
A well-meaning performance pass that lazy-loads every image delays the LCP element itself. The hero must be exempt, eager and prioritized. Lazy loading is for below the fold; applied uniformly it manufactures the failure it was meant to fix.
Two facts explain why these particular failures keep recurring. The LCP element on collection and product pages is typically the hero or first product image; LCP is judged against 2.5 seconds at the 75th percentile. And: Responsive markup, srcset with sizes, lets the browser pick a derivative matched to the device instead of downloading desktop-sized images on phones. Programs built in ignorance of the first and in denial of the second do not need bad luck to fail; the calendar is sufficient.
Related reading
Readers working through “Image optimization pipeline mistakes: where the process usually breaks down” often find these earlier guides useful as well: Capture the Serial Number at Checkout or Lose the Switch Return Argument, No Receipt Returns: The Lookup Is the Policy, and Refund Timing: Two Clocks, Not One.
Frequently asked questions
Where does the pipeline usually break down?
At manual uploads. A campaign image dropped straight into a page bypasses derivative rules, dimensions and compression, and it tends to land on the highest-traffic page. The fix is procedural: one upload path, checked, with no side doors.
Why is our collection page LCP still failing after image compression?
Look at the hero. If it is a video, or a still served behind three other heavy resources, compression of the grid images will not move LCP. Identify the actual LCP element in field tooling and spend the effort there.
Can compression go too far?
Yes, and apparel shows it first: texture, drape and true color are purchase information. Compress until fabric starts to look flat in a side-by-side, then step back one setting. The pipeline's job is speed at equal perceived quality, not maximum shrinkage.
An app serves its own images. Does the pipeline cover them?
Not automatically. App-served lookbooks, reviews photos and UGC galleries often bypass the CDN rules and markup standards. Audit app image output separately; it is the standard exception and a frequent CLS source.