This documentation is for the old version. Go to the latest Upload Suite docs

Thumbnail Class

Standalone thumbnail bound with some upload list item of Image Uploader.

The following tables list the members exposed by the Thumbnail type.

Constructor

Name Description
public method Thumbnail($id, $width, $height) Creates and initializes an instance of the Thumbnail class.

Properties

Name Description
public property getBackgroundColor()
setBackgroundColor($value)
Gets or sets background color of this Thumbnail instance.
public property getGuid()
setGuid($value)
Gets or sets identifier (GUID) of the item which is represented with this Thumbnail control.
public property getParentControlName()
setParentControlName($value)
Gets or sets name of the ImageUploader control instance this thumbnail is associated with.
public property getView()
setView($value)
Gets or sets view mode of this Thumbnail instance.

Methods

Name Description
public method render() Generates Thumbnail embedding code and writes it into the page.

Events

Name Description
public event addClientClick($clientFunction)
removeClientClick($clientFunction)
Adds or removes a handler of the event which fires when this Thumbnail control is clicked.
public event addClientInitComplete($clientFunction)
removeClientInitComplete($clientFunction)
Adds or removes a handler of the event which fires when this Thumbnail instance is completely created and initialized.