Gets or sets an image displayed on the upload pane when it is empty.
$au.uploader({ uploadPane: { //...other params... dropFilesHereImageFormat: "", //...other params... } })Get/Set Value at Runtime
$au.uploader('uploaderID').uploadPane().dropFilesHereImageFormat(value); value = $au.uploader('uploaderID').uploadPane().dropFilesHereImageFormat();
Type: String
The image displayed on the upload pane when it is empty. If an empty string is specified, a standard Drop Files Here label is displayed.
See the Remarks section for more details about syntax of this string.
Default value is "".
The string which specifies settings of this image has the following syntax:
variable1=value1;variable2=value2;...
The following variables are supported:
Variable | Description |
---|---|
Url | URL to the image. Mandatory. |
Width | Width of the image. Optional. |
Height | Height of the image. Optional. |
Position |
Image position. Optional. It can take one of the following values:
Default value is |
The image format string is case insensitive.
You can use images of all formats recognized by Image Uploader as images. If you load animated GIF files, only the first frame will be displayed.
Image URLs can be both absolute (e.g. http://domain.com/images/image.png
) and relative to the current page (e.g. /images/image.png
).
For example, if Image Uploader is inserted to the http://domain.com/ImageUploader/index.html
page, the relative URLs specified via this
property will correspond to the following locations.
Specified URL | Expected Location |
---|---|
"/images/image.png" | http://domain.com/images/image.png |
"./images/image.png" | http://domain.com/ImageUploader/images/image.png |
"images/image.png" | http://domain.com/ImageUploader/images/image.png |
"image.png" | http://domain.com/ImageUploader/image.png |