TransformationHelperGetSearchImageUrl Method |
Returns URL to current search result item.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax 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:
StringSee Also