EcommerceTransformationFunctions GetSKUImageUrl Method Kentico 8.1 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.1.5347.20411)

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