When a shirt comes in two colors and two sizes, you may need only two source photos, not four. Use your Shopify product export to identify the variants, check which photo belongs to each color and size, then export the images and a checklist. Shopify still needs you to assign the images in your store.
What the sample starts with
The example product is Weekend Tee (handle: weekend-tee). The browser generates two illustrations: the red shirt is img_001.webp (640 × 800) and the blue shirt is DSC0023.png (840 × 660). The names themselves contain no size, SKU, or color information. The sample has prefilled assignments so you can see what must be reviewed.

| Color / size | Store SKU | Source photo |
|---|---|---|
| Red / S | WT-RD-S | img_001.webp |
| Red / M | WT-RD-M | img_001.webp |
| Blue / S | WT-BL-S | DSC0023.png |
| Blue / M | WT-BL-M | DSC0023.png |
What changes when you use your own photos
Start with an existing Shopify product whose two options are Color and Size. Load its product export in the Shopify apparel workflow. Choose the exact product handle and color for each supplier folder. For loose files or photos of a specific size, confirm the individual match. If S and M really share the same color photo, leave size and variant SKU blank in that image assignment; the original variant SKUs remain in the exported checklist.
Do not assign by filename or SKU pattern alone. When several angles are valid candidates, choose one featured image and keep the other angles in the product gallery. If the garment changes between sizes, assign the size-specific photo instead of reusing it.
Each variant supports only one assigned image, but you can use the product’s media gallery to display additional images for a variant option.Shopify distinguishes the assigned variant image from extra product-gallery images. Its help page also explains how to add the same image to existing variants in bulk. [1]
Shopify’s product CSV documentation requires a working image URL for the Variant image URL field. An extracted local filename is not such a URL. [2]
What the ZIP contains and what Shopify still needs
The default sample exports two 2048 × 2048 JPEGs, plus four references in shopify-variant-map.csv. Both red variants point to weekend-tee_Red__001.jpg and both blue variants point to weekend-tee_Blue__002.jpg. The square layout is a preparation choice, not a Shopify requirement, and padding does not improve source detail.
Unzip the pack, upload the JPEGs to the correct product, and use the CSV as a checklist when assigning each variant image in Shopify. The CSV contains local paths, not Shopify image URLs; do not import it as a product CSV. Save, then check the storefront by switching both color and size. This example was verified through local export, not against a live Shopify store.
Run the Shopify apparel sample
Go to the Shopify apparel sampleOpen the apparel sample
In Batch Prep, select “Try the Shopify apparel sample.” The two source images and the product’s four variant records are already loaded.
Review the four variants
Verify both red SKUs point to the red photo and both blue SKUs to the blue photo. Confirm the product, variant and filename mapping.
Process and download the ZIP
Select “Start processing” and then “Download zip.” Open shopify-variant-map.csv and check that all four local paths point to the two JPEGs in the archive.
Frequently asked questions
Does each size need a different photo?
No. If the same photo accurately represents two sizes of one color, both variants can reference the same image. Use a separate photo when the fit or details shown change by size.
Will this ZIP automatically assign images to Shopify variants?
No. The tool prepares images and a checklist in your browser. Upload the images and assign them in Shopify yourself. The ZIP does not connect to your store or change its products.