# Image optimization pipeline: a step-by-step that follows how practitioners actually do it | Product recommendations shoppers actually want

Source: https://relevancerail.com/blog/image-optimization-pipeline-a-step-by-step-that-follows-how-practitioners-actually-do-it-2026-12-01/

Product recommendations shoppers actually want

Published 2026-12-01


The difference between stores that get value from the image pipeline and stores that perform it once for a slide deck is not talent. It is sequence and repetition: the same steps, in the same order, against.

An image optimization pipeline is the chain every product photo travels: original upload, resizing to the sizes the theme actually displays, compression, modern format conversion, and delivery with the right markup, srcset, sizes and loading attributes. On most stores the product image is also the LCP element, so the pipeline is not an SEO nicety; it is the loading experience, decided file by file.

## The working order

**Step 1.** Start from the raw material, not the summary: the hero or product image is typically the LCP element, and the good threshold is 2.5 seconds at the 75th percentile of real visits, so image weight is the speed budget.

**Step 2.** Fix the definitions before touching anything else, because modern formats compress materially better than JPEG at the same visual quality, and serving them is a markup and CDN decision, not a photography decision.

**Step 3.** Work the biggest segment first, using this constraint: srcset only helps if the sizes attribute is honest; a browser given wrong sizes downloads the large file anyway, which is the most common pipeline bug.

**Step 4.** Record what you changed and what you deliberately left alone, since the LCP image should be loaded eagerly and prioritized, while below-the-fold images should be lazy; lazy-loading the hero is a self-inflicted LCP failure.

**Step 5.** Set the review date before you finish, and judge against this: reserving width and height, or an aspect ratio, for images is what stops the layout jumping as they load, which is the CLS half of the pipeline's job.

For the search side of the image pipeline, see [Reading a Zero Results Log: The Weekly Triage That Fixes Search](https://relevancerail.com/blog/zero-results-log-triage-2026-11-01/).

## The failure points (the image pipeline)

Pipelines fall short when they optimize the average image and ignore the template: the collection grid, the search results and the product hero have different display sizes and different jobs. They also fall short on governance: one unoptimized supplier feed or a teammate uploading camera originals can undo the pipeline in an afternoon.

Originals should be kept at full quality in one place, because a pipeline that overwrites masters makes every future redesign start from already-degraded files.

## The output that matters

Audit by template with a crawler: for the top fifty product pages, compare each image's displayed size against its delivered size and flag anything delivered at more than twice the pixels it shows. Then watch LCP in field data per template, because the pipeline is fixed when the 75th percentile moves, not when the audit spreadsheet is green.

There is a companion argument in [Search Ranking Signals That Actually Matter on a Store](https://relevancerail.com/blog/search-ranking-signals-that-matter-2026-10-26/) worth reading alongside this one, especially if the image pipeline is already live on your store.

On Shopify much of the chain is handled by the platform's CDN and theme, so the cost is configuration and discipline: correct sizes markup, a compression step for supplier imagery, and a rule that originals get archived. The expensive version is the custom pipeline a store builds before checking what its platform already does.

## Frequently asked questions

### What is the most common image mistake on stores?

Delivering a huge file into a small slot: a 2000-pixel image displayed at 400 pixels, multiplied across every grid on the site. The fix is the pipeline's core job, generating the right sizes and writing a truthful sizes attribute, and it outperforms every exotic optimization that comes after it.

### How often should a store run the the image pipeline process?

Often enough that comparisons stay honest: on the cadence your purchase cycle supports, and always after a major campaign or a site change. Then watch LCP in field data per template, because the pipeline is fixed when the 75th percentile moves, not when the audit spreadsheet is green.

### What does the the image pipeline process cost to run?

On Shopify much of the chain is handled by the platform's CDN and theme, so the cost is configuration and discipline: correct sizes markup, a compression step for supplier imagery, and a rule that originals get archived. The discipline costs more than the tooling: the same definitions, the same order, every cycle, even when the results are uncomfortable.

### What breaks the the image pipeline process first?

Definition drift. Modern formats compress materially better than JPEG at the same visual quality, and serving them is a markup and CDN decision, not a photography decision. When the inputs quietly change meaning between cycles, the comparisons become fiction and the process keeps producing confident, useless output.
