Click or drag to resize
AvatarInfoProviderGetImageThumbnail Method
Returns image thumbnail (from the disk - if already exists, or create new one and save it to disk - if doesn't exist).

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntax
C#
public static byte[] GetImageThumbnail(
	AvatarInfo avatarInfo,
	int width,
	int height,
	int maxSideSize
)

Parameters

avatarInfo
Type: CMS.MembershipAvatarInfo
Avatar info
width
Type: SystemInt32
Image width
height
Type: SystemInt32
Image height
maxSideSize
Type: SystemInt32
Maximum side size

Return Value

Type: Byte
See Also