Constructor
new Images(product, imageConfig)
Parameters:
Name | Type | Description |
---|---|---|
product |
dw.catalog.Product |
product to return images for |
imageConfig |
Object |
configuration object with image types |
Returns images for a given product
Name | Type | Description |
---|---|---|
product |
dw.catalog.Product |
product to return images for |
imageConfig |
Object |
configuration object with image types |