PersonaPictureUrlCreator CreatePersonaPictureUrl Method Kentico 8.1 API Reference
Gets url of the specified persona's picture.

Namespace: CMS.Personas
Assembly: CMS.Personas (in CMS.Personas.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

persona
Type: CMS.Personas PersonaInfo
Url to the image of this persona will be created
imageSideSizeInPx
Type: OnlineSystem Int32
Maximum size of pictures side

Return Value

Type: OnlineString
Url leading to the persona's image or to the default image if persona does not have picture set
Exceptions

See Also