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.UIAssembly: CMS.Ecommerce.Web.UI (in CMS.Ecommerce.Web.UI.dll) Version: 12.0.0
Syntax 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:
StringSee Also