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

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 12.0.0
Syntax
C#
public string GetSearchImageUrl(
	SearchResultItem resultItem,
	string noImageUrl,
	int maxSideSize
)

Parameters

resultItem
Type: CMS.SearchSearchResultItem
Search result item for which to return an URL.
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