This section describes root properties of the ImageView user interface. Use the following string reference "view.<propertyName>" to access to below properties.
List of properties
Property name | Type | Description | Default values |
---|---|---|---|
retrievePreviewImageFromExif | Boolean | Determines whether preview copy of jpeg image should be retrieved from EXIF. It increases component performance. | true |
progressAllText | string | Gets or set text in the progressAll progress bar. Formatting constants are supported. | "" |
progressFileText | string | Gets or set text in the progressFile progress bar. Formatting constants are supported. | "" |
resizedProgressText | string | Gets or sets text for the resizedProgress progress bar. Formatting constants are supported. | "" |
imagesListStatusLabelOnReadyText | string | Gets or sets text for imagesListStatusLabel label that is displayed after view load and before any files selection. Formatting constants are supported. | "Press add button to choose files for upload." |
imagesListStatusLabelOnFilesSelectedText | string | Gets or sets text for imagesListStatusLabel label that is displayed after files selection was performed. Formatting constants are supported. | "#FILES_COUNT# file(s) selected, total size #TOTAL_FILES_SIZE#" |
statusLabelOnPrepareResizedImagesText | string | Gets or sets text for statusLabel label. The text is displayed during preparation of upload resized images. Formatting constants are supported. | "Images are being prepared for upload..." |
statusLabelOnProgressResizedText | string | Gets or sets text for statusLabel label. The text is displayed during resized images uploading. Formatting constants are supported. | "#PERCENTS_DONE#% done (#FILE_INDEX# of #FILES_COUNT# images uploaded)" |
statusLabelOnProgressOriginalText | string | Gets or sets message that will be displayed in the statusLabel label when images upload is in progress. Formatting constants are supported. | "#PERCENTS_DONE#% uploaded(#BYTES_LOADED# of #BYTES_TOTAL#)\nTime left: #REMAINING_TIME#\nTransfer rate: #TRANSFER_RATE#" |
statusLabelOnCompleteText | string | Gets or sets message that will be displayed in the statusLabel label when upload has been completed. Formatting constants are supported. | "Upload is completed" |
statusLabelOnCancelText | string | Gets or sets message that will be displayed in the statusLabel label when upload is in progress. Formatting constants are supported. | "Upload is cancelled" |
statusLabelOnErrorText | string | Gets or sets message that will be displayed in the statusLabel label when upload is in progress. Formatting constants are supported. | "Upload failed" |
retryDialogMessage | string | Gets or sets message that will be displayed in the retryDlg dialog. Formatting constants are supported. | "Retry file upload?" |
backgroundColor | Array | Array of numbers for the background gradient color of the main area. | [#EFEFEF] |
borderColor | Array | Array of numbers for the border gradient color of the main area. | [#ebe9e9] |
displayHttpStatusMessages | Boolean | Indicates whether or not messages related to http errors should be displayed. | true |
displayQueueErrorMessages | Boolean | Indicates whether or not messages related to queue errors should be displayed. | true |
displaySystemMessages | Boolean | Indicates whether or not messages related to system errors should be displayed. | true |
showRetryDialog | Boolean | Indicates whether or not retryDlg should be displayed when an error occurs during file upload. | true |
autopositionMode | Boolean | Turns on an auto position mode. If true, all UI elements is auto scaled due to imagesList resizing. | true |
Examples:
The property of the ImageView is assigned via flashvars object of SWFObject on the html page:
flashvars["view.backgroundColor"] = "#fdfdfe|#d7e0e7";