Click or drag to resize
MediaFileInfoProviderGetImageThumbnailInternal Method
Returns image thumbnail from the disk or create a new one if doesn't exist yet.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
protected virtual byte[] GetImageThumbnailInternal(
	MediaFileInfo fileInfo,
	string libraryFolder,
	string siteName,
	int width,
	int height,
	int maxSideSize
)

Parameters

fileInfo
Type: CMS.MediaLibraryMediaFileInfo
File info
libraryFolder
Type: SystemString
Library folder
siteName
Type: SystemString
Site name
width
Type: SystemInt32
Image width
height
Type: SystemInt32
Image height
maxSideSize
Type: SystemInt32
Maximum side size

Return Value

Type: Byte
See Also