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

converter.thumbnailBgColor Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a background color of the thumbnail.

Syntax

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

Property Value

Type: String

A background color of the thumbnail. This color is used when the thumbnail should be created for an image with transparency.

The color string should be specified in a hex representation of the RGB triad in HTML-style syntax (#rrggbb).

Default value is "#FFFFFF".

Remarks

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

See Also

Reference

Manual