Click or drag to resize
TransformationHelperGetSearchImageUrl Method
Returns URL to current search result item.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
public string GetSearchImageUrl(
	string id,
	string type,
	string image,
	string noImageUrl,
	int maxSideSize
)

Parameters

id
Type: SystemString
ID of the item
type
Type: SystemString
Type
image
Type: SystemString
Image
noImageUrl
Type: SystemString
URL to image which should be displayed if image is not defined
maxSideSize
Type: SystemInt32
Max. side size

Return Value

Type: String
See Also