Skip to main content

system.kanoa.cmms.getImageThumbnail(chkImageId)

Retrieves a resized, lower-resolution thumbnail version of the image associated with the given chkImageId. This is intended for display contexts like list views, galleries, or table cells where loading the full-resolution image (via getImage) would be unnecessarily slow or heavy � the thumbnail is generated and stored ahead of time by processImage when the image is first uploaded.


Parameters

chkImageId Integer: Id of image to retrieve


Returns

image byteArray


Example

chkImageId = 42
thumbnailBytes = system.kanoa.cmms.getImageThumbnail(chkImageId)