Background color of the second thumbnail.

Syntax

Initialize
JavaScript CopyCode imageCopy Code
<script type="text/javascript" src="iuembed.js"></script>
<script type="text/javascript">
var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
//...other params...
iu.addParam("UploadThumbnail2BackgroundColor", "");
//...other params...
iu.writeHtml();
</script>
Get/Set Value in Runtime
JavaScript CopyCode imageCopy Code
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.

NoteNote

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

Default value is "".

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.

See Also

Reference
FolderPaneBackgroundColor Property
UploadPaneBackgroundColor Property
UploadThumbnail2CompressOversizedOnly Property
UploadThumbnail2CompressionMode Property
UploadThumbnail2CopyExif Property
UploadThumbnail2CopyIptc Property
UploadThumbnail2FitMode Property
UploadThumbnail2Height Property
UploadThumbnail2JpegQuality Property
UploadThumbnail2ResizeQuality Property
UploadThumbnail2Watermark Property
UploadThumbnail2Width Property