Aurigma Image Uploader 4.8 Dual
ImageUploader.CacheGuiGraphics Property
See Also Supported in: ActiveX Java

Switch that enables/disables caching of image buttons (when XXXImageFormat properties are used).

# Syntax

##### Initialize

JavaScript | Copy Code
--- | ---
    <script type="text/javascript" src="iuembed.js"></script>
    <script type="text/javascript">
    var iu = new ImageUploaderWriter("ImageUploaderID", 610, 500);
    //...other params...
    iu.addParam("CacheGuiGraphics", "false");
    //...other params...
    iu.writeHtml();
    </script>

##### Get/Set Value in Runtime

JavaScript | Copy Code
--- | ---
    getImageUploader("ImageUploaderID").setCacheGuiGraphics(value);
    value = getImageUploader("ImageUploaderID").getCacheGuiGraphics();

##### Property Value

A boolean value (`true` or `false`). If `true`, images specified in XXXImageFormat properties will be cached by the browser. It means that when the user reloads the page with Image Uploader, button images will not be downloaded from the server again, and local copy will be used. If `false` specified, Image Uploader will download button images every time the page is reloaded.

Default value is "false".

# Remarks

If you enable user interface graphics caching, it is highly recommended to use the GuiGraphicsVersion property. It enables you to track changes in the graphics and update these images automatically.

# See Also

##### Examples

Customizing Buttons

##### Reference

ButtonAddAllToUploadListImageFormat Property
ButtonAddFilesImageFormat Property
ButtonAddFoldersImageFormat Property
ButtonAddToUploadListImageFormat Property
ButtonAdvancedDetailsCancelImageFormat Property
ButtonAdvancedDetailsCancelText Property
ButtonDeleteFilesImageFormat Property
ButtonDeselectAllImageFormat Property
ButtonPasteImageFormat Property
ButtonRemoveAllFromUploadListImageFormat Property
ButtonRemoveFromUploadListImageFormat Property
ButtonSelectAllImageFormat Property
ButtonSendImageFormat Property
ButtonStopImageFormat Property
GuiGraphicsVersion Property
LargePreviewIconImageFormat Property
RemoveIconImageFormat Property
RotateIconClockwiseImageFormat Property
RotateIconCounterclockwiseImageFormat Property