Skupad

Skupad › Guides › Shopify CSV import with multiple images: one row per image

Shopify CSV import with multiple images: one row per image

Short answer. A Shopify product CSV holds one image per row. The product’s first row carries the product fields and the first image; every extra image is a new row directly below the product’s other rows with only URL handle, Product image URL, Image position and Image alt text filled in (in the older template: Handle, Image Src, Image Position, Image Alt Text). Shopify allows up to 250 images per product, and each URL has to be publicly reachable — Shopify downloads the file during the import.

A variant’s own picture goes in Variant image URL (Variant Image in the older template) on that variant’s row.

The row layout

This is the ceramic mug from the example below, laid out the way Shopify’s CSV page describes it: all product fields and the first image on row 2, the second variant on row 3, then one row per extra image. Image rows leave Title, the option columns, SKU and Price empty.

RowURL handleTitleOption1 valueSKUProduct image URLImage positionImage alt textVariant image URL
2ceramic-mugCeramic mugBlueMUG-BLUE…/mug-blue.jpg1Blue ceramic mug…/mug-blue.jpg
3ceramic-mugSandMUG-SAND…/mug-sand.jpg2Sand ceramic mug…/mug-sand.jpg
4ceramic-mug…/mug-handle.jpg3Close-up of the mug handle
5ceramic-mug…/mug-base.jpg4Maker’s mark on the mug base
6ceramic-mug…/mug-gift-box.jpg5Mug in its gift box

The full corrected file has 4 products and 13 rows: 12 images, 7 of them on image-only rows. Replace the cdn.example.com addresses with your own image URLs before importing.

Download the corrected example CSV (current column names) →

What Shopify says about the image columns

RuleShopify’s wording (CSV help page)
How images get into the store“Shopify downloads the images during the import and re-uploads them in your store.”
Where the image must beImage URLs from external sources need to be publicly accessible; the multiple-images section asks for URLs behind https:// “with no password protection”.
How many“You can add up to 250 images to a product.”
OrderImage position: “The images display in ascending order, starting from an image position value of 1.”
File nameFinal once uploaded, and no _thumb, _small or _medium suffixes.
Alt textMaximum 512 characters; 125 or fewer is optimal.
Media typesOnly image URLs. 3D models and videos aren’t supported in the CSV.
Images from Content › FilesRe-downloaded and duplicated: the copy lives in the products folder and the original stays in Files.

Two warnings from Shopify’s import page matter more for images than for any other column. A file sorted in a spreadsheet “might cause your products to be removed from their relevant image links”, and the images are lost. And if you delete products or images from the store after exporting, then import that export without updating the URLs, the import fails.

Variant images

Put the variant’s image URL in Variant image URL on the variant’s own row — in the layout above, Blue on row 2 and Sand on row 3. Shopify’s variants page says each variant can have one media item, “which must be from the product’s media list”, so the example uses the same URL that also sits in Product image URL as one of the product’s images.

Shopify’s own sample file has a Variant image URL column but leaves it empty on all 16 rows, so there is no official worked example of it. We have not tested what an import does with a variant image URL that is not also a product image.

Worked example: six image-row mistakes

A made-up store builds the file above by hand and makes six mistakes along the way. Skupad checks the file on its own, without an export, and lists two Must fix and four Needs check findings:

Skupad one-file check of the images example: 2 Must fix and 4 Needs check findings on the oak board, ceramic mug, linen towel and soy-candles rows
All six findings. The Row column is the spreadsheet row, counting the header as row 1.

Open this example in Skupad →

RowWhat is in the fileSkupadFix
8C:\Users\shop\Pictures\towel-hook.jpgMust fix: not a web addressUpload the file (Content › Files or any public host) and paste its https URL.
14soy-candles — a typo for soy-candle, on an image rowMust fix: no Title on the product’s first rowCorrect the handle and move the row under the candle (row 12).
4, 5Two images with Image position 3Needs check: two images share one positionNumber the mug’s images 1 to 5.
10http://cdn.example.com/board-side.jpgNeeds check: not httpsUse the https address.
11board-grain_thumb.jpgNeeds check: _thumb suffixLink the full-size file.
13A mug image row placed after the soy candleNeeds check: rows of one product are split upMove it up to row 6, under the mug’s other rows.
Must fix findings: Product image URL C:\Users\shop\Pictures\towel-hook.jpg on linen-towel, and Title missing on soy-candles
Must fix blocks the product. The typo handle soy-candles has no Title: Shopify’s troubleshooting page lists “Ignored line … because it did not contain product data” for a handle with no title, so that image would never reach the candle.

Open this example in Skupad →

Needs check findings: duplicate image position 3 on ceramic-mug, http URL and _thumb file name on oak-board, ceramic-mug rows split up
Needs check does not block, because Shopify’s pages say what to enter but not exactly what the import does with these values. Each one is still worth fixing before you upload.

Open this example in Skupad →

After the six fixes the file is the corrected example above; Skupad finds nothing in it.

What a file check cannot see

Next step

Sources