Rank: Newbie
Groups: Member
Joined: 12/2/2010(UTC) Posts: 8
|
Fedor, The configuration of the image uploader is as follows: <script type="text/javascript"> var u = $au.uploader({ id: 'Uploader1', width:'690px', height:'450px', licenseKey: '76FF4-00400-00007-88D78-8DB3C-66A31B', javaControl: { codeBase:'js/Scripts/ImageUploader7.jar' }, activeXControl:{ codeBase:'js/Scripts/ImageUploader7.cab' }, restrictions: { minImageHeight: 480, minImageWidth: 620, fileMask: '*.jpg;*.jpeg;*.jpe' }, converters: [ { mode: '*.*=Thumbnail', thumbnailFitMode: 'Fit', thumbnailWidth: '640', thumbnailHeight: '480', thumbnailJpegQuality:'100' } ], uploadSettings: { actionUrl:'ManagePhoto.action', autoRecoveryMaxAttemptCount: 2, autoRecoveryTimeOut: 60000, connectionTimeout: 60000 }, enableRotation: false, uploadButtonText: '', enableDescriptionEditor: false, folderPane: { height: 300 }, treePane: { width: 200 }, statusPane: { filesToUploadText: '', noFilesToUploadText: '' }, paneItem: { imageEditorIconTooltip: 'Preview image' }, messages: { uploadCompleted: '', uploadFailed: 'Sorry, your upload failed. Please try again.', noResponseFromServer: 'Sorry, your upload failed. Please try again.', unexpectedError: 'Sorry, your upload failed. Please try again.' }, events: { preRender: [ImageUploader_PreRender], initComplete: [ImageUploader_InitComplete], uploadFileCountChange: [ImageUploader_UploadFileCountChange], beforeUpload: [ImageUploader_BeforeUpload], afterUpload: [ImageUploader_AfterUpload] } }); u.writeHtml(); </script>
|