Version indicator of images used as buttons and icons of Image Uploader user interface.

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("GuiGraphicsVersion", "1");
//...other params...
iu.writeHtml();
</script>
Get/Set Value in Runtime
JavaScript CopyCode imageCopy Code
getImageUploader("ImageUploaderID").setGuiGraphicsVersion(value);
value = getImageUploader("ImageUploaderID").getGuiGraphicsVersion();
Property Value

A string value that identifies version of images used as buttons and icons. It is highly recommended to use unique value every time you update these images (e.g. incrementing numbers or GUID).

Default value is "1".

Remarks

This value is used so that Image Uploader could recognize when images are modified on the server and whether they should be updated in cache. Every time user interface graphics is downloaded and cached, Image Uploader remembers this value. When the user visits the page with Image Uploader one more time, it compares this value with the remembered one. If they differ, Image Uploader updates the user interface graphics cache.

Obviously it makes sense to use this property only when the user interface graphics caching is enabled (i.e. the CacheGuiGraphics property is set to true).

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
CacheGuiGraphics Property
LargePreviewIconImageFormat Property
RemoveIconImageFormat Property
RotateIconClockwiseImageFormat Property
RotateIconCounterclockwiseImageFormat Property