Ultimate Uploader v1.4
Initial Parameters Reference |
Upload control init parameters list
Parameter name | Parameter description | Example | Default value |
Height | Height in pixels of the upload control. | Height=480 | 400 |
Width | Width in pixels of the upload control. | Width=640 | 600 |
BackColor | Color of upload control background. | BackColor=#CCFFFF | #FFFFFF |
ForeColor | Color of upload control text elements. | ForeColor=#3366CC | #000000 |
FontFamily | Name of upload control text elements font family. | FontFamily=Arial | Verdana |
FontSize | Size in pixels of upload control text elements font. | FontSize=12 | 11 |
FontStyle | Style of the font face, Normal or Italic. | FontStyle=Italic | Normal |
FontWeight | Weight of the font, such as Light, Normal, or Bold. | FontWeight=Bold | Normal |
UploadHandler | URL of the handler that receives uploaded files. | UploadHandler=http://mysite.com/upload.php | http://<AppPath>/Upload.ashx |
ChunkMode | Mode defining automatically or manually the sizes of chunks will be defined. | ChunkMode=Manual | Auto |
ChunkSize | Size in bytes of the chunks sent to the server. | ChunkSize=262144 | 0 |
FileTypesFilter | Filter of file types allowed for upload to the server. | FileTypesFilter=Jpeg images (*.jpg)|*.jpg | All files (*.*)|*.* |
ConcurrentUploads | Maximum number of parallel uploads. | ConcurrentUploads=3 | 1 |
MaxFileSize | Maximum size in bytes of the file that can be uploaded to the server, 0 if unlimited. | MaxFileSize=8388608 | 0 |
MinFilesCount | Minimum files count allowable for upload. | MinFilesCount=4 | 0 |
MaxFilesCount | Maximum files count allowable for upload (0 or undefined - unlimited count). | MaxFilesCount=12 | 0 |
ResizeImages | Indicating whether image should be resized before uploading. | ResizeImages=true | false |
ImageSize | Target size in pixels of the images if they need to be resized. | ImageSize=1024 | 0 |
UploadThumbnails | Indicating whether the thumbnails will be uploaded with images. | UploadThumbnails=true | false |
ThumbnailSize | Size in pixels of the image thumbnails if they have to be uploaded with images. | ThumbnailSize=128 | 0 |
ThumbNameTemplate | Template of thumbnail files naming. Should contain "{0}" literal meaning an original filename, otherwise will be ignored. | ThumbNameTemplate=_{0} | {0}_thumb |
JpegQuality | Quality (from 1 to 100) of resized JPEG images and thumbnails. | JpegQuality=95 | 90 |
ExistenceBehavior |
Definers behavior of the program in case of file part existence. Acceptable
values:
"Resume" - resume file uploading from point on which it has been interrupted earlier. "Overwrite" - start file uploading over again, having rewritten existing file part. "AskUser" - ask the user about what to do. |
ExistenceBehavior=AskUser | Resume |
AvailableView | Defines available view for the user interface. Acceptable values: "Grid" - only Grid View available. "Thumbnails" - only Thumbnails View available. "Both" - both Grid and Thumbnails Views available. | AvailableView=Thumbnails | Both |
AllowFileComments | Defines whether file comments should be allowed for users. | AllowFileComments=false | true |
ShowUploadButton | Defines whether the upload button should be displayed in the user interface. | ShowUploadButton=false | true |
ShowCancelButton | Defines whether the cancel button should be displayed in the user interface. | ShowCancelButton=false | true |
ShowHelpButton | Defines whether the help button should be displayed in the user interface. | ShowHelpButton=false | true |
HelpUrl | URL of help page opening at help button click. | HelpUrl=http://mysite.com/Guide.aspx | http://<AppPath>/Help.html |
Tag | Custom information that can be sent to server with files. | Tag=gallery_id | - |
FreeMode | Defines activation of free mode usage of the control. | FreeMode=true | false |