EcommerceTransformationFunctions GetSKUImageUrl Method Kentico 8.0 API Reference
Returns SKU image URL including dimension's modifiers (width, height or maxsidesize) and site name parameter if product is from different site than current. If image URL is not specified, SKU default image URL is used.

Namespace: CMS.Ecommerce
Assembly: CMS.Ecommerce (in CMS.Ecommerce.dll) Version: 8.0.0.0 (8.0.5239.26125)

Parameters

imageUrl
Type: OnlineSystem Object
SKU image URL
width
Type: OnlineSystem Object
Image requested width, has no effect if maxsidesize is specified
height
Type: OnlineSystem Object
Image requested height, has no effect if maxsidesize is specified
maxsidesize
Type: OnlineSystem Object
Image requested maximum side size
siteId
Type: OnlineSystem Object
SKU site ID. If empty, current site ID is used.

Return Value

Type: OnlineString
See Also