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

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
protected virtual byte[] GetImageThumbnailInternal(
	Guid guid,
	byte[] imageData,
	string extension,
	string siteName,
	int width,
	int height,
	int maxSideSize,
	int originalWidth,
	int originalHeight
)

Parameters

guid
Type: SystemGuid
File GUID.
imageData
Type: SystemByte
Image data.
extension
Type: SystemString
Image extension.
siteName
Type: SystemString
Site name.
width
Type: SystemInt32
Image width.
height
Type: SystemInt32
Image height.
maxSideSize
Type: SystemInt32
Maximum side size.
originalWidth
Type: SystemInt32
Original width of the image.
originalHeight
Type: SystemInt32
Original height of the image.

Return Value

Type: Byte
See Also