shop.product.images.getList
Returns image list of a product.
Parameters
-
product_id
GET
Id of the product whose images should be returned.
-
format
GET
Optional
Sets response format. Available options:
json
(default),xml
.
Return value
Array with product images. Each image’s sub-array contains values with the following keys:
- []['id'] int.
- []['description'] string.
- []['height'] int Height in pixels.
- []['width'] int Width in pixels.
- []['size'] int File size in bytes.
- []['sort'] int Sort order starting with 0.
- []['product_id'] int ID of the product for which the image is uploaded.
- []['upload_datetime'] datetime Image upload date and time.
- []['url_thumb'] string URL of the image thumbnail with size specified in GET parameter 'size'.
- []['ext'] string File name extension.