Click or drag to resize
MediaFileInfoProviderGetThumbnailInternal 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: 8.2.23
Syntax
C#
protected virtual byte[] GetThumbnailInternal(
	string originalFilePath,
	int originalWidth,
	int originalHeight,
	int width,
	int height
)

Parameters

originalFilePath
Type: SystemString
Original file path
originalWidth
Type: SystemInt32
Original width
originalHeight
Type: SystemInt32
Original height
width
Type: SystemInt32
Width
height
Type: SystemInt32
Height

Return Value

Type: Byte
See Also