Background color of the second thumbnail.

Syntax

Initialize

JavaScript

<script type="text/javascript" src="iuembed.js">  </script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("UploadThumbnail2BackgroundColor", "#ffffff");
//...other params...
iu.writeHtml();
</script>

Get/Set Value in Runtime

JavaScript

getImageUploader("ImageUploaderID").setUploadThumbnail2BackgroundColor(value);
value = getImageUploader("ImageUploaderID").getUploadThumbnail2BackgroundColor();

Property Value

A color value specified as a hex representation of the RGB triad in HTML-style syntax (#rrggbb) or as a color name ("white" and so on) which specifies the background color of the thumbnail.

Note

See the full list of supported color names in MSDN. Pay attention that user-defined colors are not supported.

Default value is "#ffffff" (white).

Remarks

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

If the two-pane layout is used, the default color will be the same as the FolderPaneBackgroundColor value. If the three-pane layout is used, the default color will be the same as the UploadPaneBackgroundColor value.