# Image optimization pipeline mistakes: where the process usually breaks down

Source: https://returnsift.com/blog/2026-12-01-image-optimization-pipeline-mistakes-where-the-process-usually-breaks-down.html

Mistakes · 2026-12-01


Image pipelines fail at the edges of good intentions. A well-meaning upload workflow compresses every product photo before it reaches Shopify, capping quality at every size forever. A theme requests the master image for a 200-pixel thumbnail. A performance app lazy-loads the hero, and the LCP grade it was hired to fix gets worse. Photographs sit in PNG at ten times the necessary weight. And the review widget injects a gallery nobody optimised, on the highest-traffic template the store owns.

## Crushing the source

Compression belongs at delivery, where size is chosen per device, not at upload, where one decision serves every context badly. An uploader set to squeeze files for email-era reasons produces sources that look acceptable on a laptop thumbnail and fall apart on a retina product page zoom, which is where considered purchases are decided.

Reverse the workflow: archive originals untouched, upload full quality, and let the CDN derive. Storage is cheap. Re-shooting a product line because the originals were crushed is not.

## Wrong size requested, wrong format chosen

The download size is whatever the markup requests. Templates that pull the master image into cards, thumbnails, and cart lines ship megabytes to display postage stamps, and no CDN setting rescues markup that asks for the wrong file. Audit the rendered page's image list against displayed sizes; the gap list is your fix list.

Format errors compound quietly: photographs saved as PNG, graphics with text saved as JPEG, transparent backgrounds used where a flat colour would do. Each is a small multiple on every page view, paid by your slowest customers first, which is to say the ones least able to absorb it and most likely to leave.

## Lazy heroes and rogue injectors

Lazy loading is a below-the-fold tool. Applied to the LCP image, it tells the browser the most important content on the page is a low priority, and the grade follows. Performance tooling does this by default more often than anyone admits, because indiscriminate lazy loading flatters some lab setups while hurting field data.

Finally, govern the injectors. Every app that places images, reviews, recommendations, UGC galleries, must follow the pipeline's rules: sized requests, dimensions reserved, below-fold lazy. Audit injected images in the same pass as theme images. The customer experiences one page, not your organisational chart.

## Related reading

For the background behind “Image optimization pipeline mistakes: where the process usually breaks down”, these earlier guides help: [Serial Returner Is a Threshold Problem: Most Heavy Returners Are Not Abusing You](https://returnsift.com/blog/2026-11-22-serial-returner-thresholds-policy-abuse-vs-heavy-user.md), [Box-Free Label-Free Returns: What the QR Code Drop-Off Changes in Your Cost Stack](https://returnsift.com/blog/2026-11-21-box-free-label-free-qr-code-returns-cost.md), and [Disposition at First Scan: The Routing Decision That Decides Recovery Before Refurb Starts](https://returnsift.com/blog/2026-11-21-disposition-routing-first-scan-recovery-decision.md).

## Frequently asked questions

### Why not compress product photos before upload?

Because the CDN derives every display size from the source. A crushed source caps quality everywhere, including zoom views where purchases are decided. Upload full quality and let delivery-side resizing do the work.

### How do I find oversized image delivery?

Compare each rendered image's downloaded size against its displayed size on key templates. Markup requesting master images for thumbnails and cards is the usual cause, and the fix is in the image tags and srcset.

### Can lazy loading hurt performance?

Yes, when it touches the LCP image. Lazy-loading the hero tells the browser to deprioritise the content the page is graded on. Lazy-load below the fold only, and preload the hero.

### Do app-injected images need the same rules?

Yes. Review and UGC galleries often bypass theme discipline, with unsized requests and no reserved dimensions. The page is graded as a whole, so injected images belong in the same audit.
