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.Web.UI
Assembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 10.0.0
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