Background color of the first 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("UploadThumbnail1BackgroundColor", ""); //...other params... iu.writeHtml(); </script> |
Get/Set Value in Runtime
JavaScript | ![]() |
---|---|
getImageUploader("ImageUploaderID").setUploadThumbnail1BackgroundColor(value); value = getImageUploader("ImageUploaderID").getUploadThumbnail1BackgroundColor(); |
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.
![]() |
---|
See the full list of supported color names in MSDN |
Default value is "".
Remarks
This color is used when the first 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 PropertyUploadPaneBackgroundColor Property
UploadThumbnail1CompressOversizedOnly Property
UploadThumbnail1CompressionMode Property
UploadThumbnail1CopyExif Property
UploadThumbnail1CopyIptc Property
UploadThumbnail1FitMode Property
UploadThumbnail1Height Property
UploadThumbnail1JpegQuality Property
UploadThumbnail1ResizeQuality Property
UploadThumbnail1Watermark Property
UploadThumbnail1Width Property