Click or drag to resize
ContentMediaViewAddURLDimensionsAndResolve Method
Returns URL, resolved if not in media selector, with size parameters added.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 13.0.131
Syntax
C#
public string AddURLDimensionsAndResolve(
	string url,
	int height,
	int width,
	int maxSideSize
)

Parameters

url
Type: SystemString
Media file URL
height
Type: SystemInt32
Height parameter that should be added to the URL
width
Type: SystemInt32
Width parameter that should be added to the URL
maxSideSize
Type: SystemInt32
Max side size parameter that should be added to the URL

Return Value

Type: String
See Also