Click or drag to resize
EcommerceTransformationFunctionsGetSKUImageUrl Method
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.2.23
Syntax
C#
public static string GetSKUImageUrl(
	Object imageUrl,
	Object width,
	Object height,
	Object maxsidesize,
	Object siteId
)

Parameters

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

Return Value

Type: String
See Also