Images Response Group

The Images response group returns the URLs to all available images of an item in three sizes: small, medium, and large. For example, if a blender is for sale and there are four images of it, this response group returns the URLs of twelve images: four images, each in three sizes.

In addition to returning the URLs of the images, the response groups also returns the height and width dimensions of each image. Use these values to help you display the images correctly.

The images returned are associated with the merchant selling the item. For that reason, you must specify the merchant ID in the request when you use the Images response group. MerchantId, however, defaults to "Amazon." So, if the item is being sold by Amazon, specifying a MerchantId is not required. If you do not specify a MerchantId and a merchant other than Amazon is selling the item, ECS will not return images.

Operations that can use this response group include:

The following table describes the elements returned by the Images response group. The elements on the left side of a slash mark are the parents of the elements on the right side of the slash mark.

Response ElementAncestryDefinition
Height ImageSets/ImageSet/LargeImage/HeighHeight of the large image
Height ImageSets/ImageSet/MediumImage/HeightHeight of the medium image
Height ImageSets/ImageSet/SmallImage/HeightHeight of the small image
Height MediumImage/HeightHeight of the medium image
Height ImageSets/ImageSet/SwatchImage/HeightHeight of the swatch image
Height SmallImage/HeightHeight of the small image
Height LargeImage/HeightHeight of the large image
TotalPages Items/TotalPagesTotal number of pages of images found. There areup to ten images per page in a response.
TotalResults Items/TotalResultsTotal nujmber of images found.
URL LargeImage/URLURL of the large image
URL MediumImage/URLURL of the medium image
URL SmallImage/URLURL of the small image
URL ImageSets/ImageSet/SwatchImage/URLURL of the swatch image
URL ImageSets/ImageSet/SmallImage/URLURL of the small image
URL ImageSets/ImageSet/LargeImage/URLURL of the large image
URL ImageSets/ImageSet/MediumImage/URLURL of the medium image
Width ImageSets/ImageSet/MediumImage/WidthWidth of the medium image
Width ImageSets/ImageSet/LargeImage/WidthWidth of the large image
Width ImageSets/ImageSet/SmallImage/WidthWitch of the small image
Width LargeImage/WidthWidth of the large image
Width MediumImage/WidthWidth of the mediumm image
Width SmallImage/WidthWidth of the small image
Width ImageSets/ImageSet/SwatchImage/WidthWidth of the swatch image

Images also returns the elements that all response groups return, which is described in Elements Common to All Response Groups.

The following response groups are parent response groups of the Images response group.

The following response groups are child response groups of the Images response group.

All locales.

http://ecs.amazonaws.com/onca/xml?Service=AWSECommerceService&
AWSAccessKeyId=[Access Key ID]&
Operation=ItemSearch&
Condition=All&
ResponseGroup=Images&
SearchIndex=Blended&
Keywords=GodSmack&Merchant=All