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

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

Parameters

attachmentInfo
Type: CMS.ForumsForumAttachmentInfo
Attachment info
width
Type: SystemInt32
Image width
height
Type: SystemInt32
Image height
maxSideSize
Type: SystemInt32
Maximum side size

Return Value

Type: Byte
See Also