Image URL settings
XML
You may encounter an XML structure where links to images are stored in separate Image nodes.

<Product>
<Items>
<ProductItem>
<ItemCode>A012345</ItemCode>
<ItemImage1>http://warehouse.com/images/A012345.jpg</ItemImage1>
<ItemImage2>http://warehouse.com/images/A012345_1.jpg</ItemImage2>
</ProductItem>
</Items>
</Product>For the notation above, use the following settings in the Image URL fields:

Image URL: Items/ProductItem/ItemImage1
Image URL: Items/ProductItem/ItemImage2
Another case is when the URLs are nested as the same named children of the Image node.

You can extract them with the following settings:

Image URL: Items/ProductItem/ItemImages/ItemImage[1]
Image URL: Items/ProductItem/ItemImages/ItemImage[2]
Please note that the indexing of XML lists starts with 1.
JSON
In the JSON file images may be stored as an array of objects that consist of e.g. image id and image URL.

In this case use the following settings:

Image URL: product_images[0].image
Image URL: product_images[1].image
Image URL: product_images[2].image
Please note that the indexing of array elements in JSON starts at 0.
You can add fields up to the highest expected number of images. This will not cause an error, even if there is no link to the image on the given index.
Multiple image URLs in a single field/node/column
In some feeds, multiple image URLs may be stored in a single field, node, or column.

In such cases, use a Liquid formula together with multiple Image URL fields.
Use a Liquid formula to split the value into an array of URLs. Apply the
splitfilter and specify a separator (in this case, a semicolon). Repeat this formula in each Image URL field in the Data Mapping section.In each subsequent Image URL field, reference the next element from the array. Note that indexing starts from 0, regardless of the feed format.

Image URL:
Image URL:
Image URL:
Image URL:
Image URL:
Last updated