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

converter.thumbnailWidth Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a width restriction for the thumbnail.

Syntax

JavaScript Initialize
$au.uploader({
    converters : [
        {
            //...other params...
            thumbnailWidth: 96,
            //...other params...
        }
    ]
})
Get/Set Value at Runtime
$au.uploader('uploaderID').converters().get(index).thumbnailWidth(value);
value = $au.uploader('uploaderID').converters().get(index).thumbnailWidth();

Property Value

Type: Number

The width of the thumbnail.

Default value is 96.

Remarks

Note

Image Uploader Express and Professional restrict a size (width x height) of each created thumbnail to 3 and 5 megapixels respectively. For example, the size of 1500x1500 thumbnail is 2.25 megapixels (1500 pixels x 1500 pixels = 2.25 megapixels), so a thumbnail like this can be uploaded with Image Uploader Express. See the Comparison of Image Uploader Editions topic for details.

Read about the thumbnailFitMode property for more detailed information on how this property affects the thumbnail size.

This property makes sense only if the mode property has the Thumbnail value.

See Also

Reference

Manual