Click or drag to resize
AvatarInfoProviderCanResizeImage Method
Checks whether the image should be processed (resized) by the Image manager (if the destination size is smaller).

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 13.0.131
Syntax
C#
public static bool CanResizeImage(
	AvatarInfo avatarInfo,
	int width,
	int height,
	int maxSideSize
)

Parameters

avatarInfo
Type: CMS.MembershipAvatarInfo
Avatar file info to check
width
Type: SystemInt32
New width
height
Type: SystemInt32
New height
maxSideSize
Type: SystemInt32
Max side size

Return Value

Type: Boolean
See Also