Skip to main content
File PrefixPRODUCT-IMAGES
Current VersionV2
AttributeFormatLengthRequiredDescriptionExample
product_refAlphanumeric1-255YesUnique product reference descriptor103495
skusAlphanumeric ; separated list1-255NoSKU(s) of product variant. Leave blank to indicate the image applies to the productB01N53LF;B02N53LF
image_urlURL1-65535YesImage URL. JPG and PNG images are supportedhttps://bspk.com/xkcd.jpg
positionNumericYesOrder. This position is absolute for the product, meaning a same product_ref should contain only one position in its group of rows2
The image_url content must be publicly accessible. The image will be downloaded and stored into BSPK CDN.

Processing Images

The list of images for a product in a given file is considered canonical. This means that every time an import file is processed, when the first instance of a given product reference is encountered, all the existing images associated with that product will be removed. This provides a deterministic way to express what images should be associated with a product and its variants.

Example

A new product is added to the catalog. There is only one image available. The following file assigns it to the product, but no specific variants.
A photoshoot took place and now there are more specific pictures available for each sku. The following file assigns them to each variants.
After this file is processed, the previously imported image1.jpg is no longer associated with the product.
image_url are cached. If a same url is encountered, the content will not be downloaded again. If you change an image, make sure the file name is different.