For the complete documentation index, see llms.txt. This page is also available as Markdown.

Image URL settings

XML

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

Images stored in separate Image nodes annotated
Images stored in separate Image nodes

For the notation above, use the following settings in the Image URL fields:

Stockeo settings for Image URL fields when images are stored in separate ItemImage nodes annotated
Stockeo settings for Image URL fields when images are stored in separate ItemImage nodes

Another case is when the URLs are nested as the same named children of the Image node.

URLs are nested as the same named children of the Image node annotated
URLs nested as the same named children of the Image node

You can extract them with the following settings:

Stockeo settings when URLs are nested as the same named children of the Image node annotated
Stockeo settings when URLs are nested as the same named children of the Image node

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.

Image URLs are stored as a property of the object in the product_images array annotated
Image URLs are stored as a property of the object in the product_images array

In this case use the following settings:

Stockeo settings when Image URLs are stored as a property of the object in the product_images array annotated
Stockeo settings when Image URLs are stored as a property of the object in the product_images array

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.

Example CSV feed showing multiple image URLs combined in one column separated by delimiters
Sample feed with multiple image URLs stored in a single column

In such cases, use a Liquid formula together with multiple Image URL fields.

  1. Use a Liquid formula to split the value into an array of URLs. Apply the split filter and specify a separator (in this case, a semicolon). Repeat this formula in each Image URL field in the Data Mapping section.

  2. In each subsequent Image URL field, reference the next element from the array. Note that indexing starts from 0, regardless of the feed format.

Configuration screen showing Image URL fields using a split formula to handle multiple URLs from one node
Image URL settings for extracting multiple URLs from a single node

Last updated