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

It may also happen that the URLs are nested as children of the Image node.

Images stored in the child nodes of ItemImages node annotated
Images stored in the child nodes of ItemImages node

Use the following settings to access them:

Stockeo settings for Image URL fields when images are stored in in the child nodes of ItemImage node annotated
Stockeo settings for Image URL fields when images are stored in in the child nodes of ItemImage node

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

Get accees to them with these 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

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.

Last updated