|
Ultimate Uploader v1.6
Initial Parameters Reference |
Home
page Contact
support
|
Upload control init parameters list
| Parameter name | Parameter description | Example | Default value |
| LicenseKey | License key used to register full version of UltimateUploader control. | LicenseKey=0071.............840192 | - |
| 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 |
| ChunkMultipart | Defines whether file's chunks should be encoded using multipart/form-data encoding. | ChunkMultipart=true | false |
| 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 |
| ShowBackgroundImage | Defines whether the background image should be visible in the user interface (thumbnails or grid view). | ShowBackgroundImage=false | true |
| BackgroundImageUrl | The url for the background image. | BackgroundImageUrl=/images/bg.png | - |
| 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 | - |
| FormName | Gets or sets the id of the html form which values should be posted to server with file chunks. Used only if the value if the ChunkMultipart parameter is set to true. | FormName=myform | |
| PostFieldsFile | Gets or sets the name of the form field which contains file (chunk) body. Used only if the value if the ChunkMultipart parameter is set to true. | PostFieldsFile=fileData | ileData |
| PostFieldsFileId | Gets or sets the name of the form field which contains file id. Used only if the value if the ChunkMultipart parameter is set to true. | PostFieldsFileId=id | id |
| PostFieldsFileSize | Gets or sets the name of the form field which contains file size. Used only if the value if the ChunkMultipart parameter is set to true. | PostFieldsFileSize=filelength | filelength |
| PostFieldsFilesCount | Gets or sets the name of the form field which contains total files count . Used only if the value if the ChunkMultipart parameter is set to true. | PostFieldsFilesCount=filescount | filescount |
| CustomPostFields | Sets custom post fields. |
CustomPostFields=paramname1;paramvalue1|paramname2;paramvalue2 | |
| FreeMode | Defines activation of free mode usage of the control. | FreeMode=true | false |