Java uploader is signed with new certificate. However, please note that it no longer works in the most of the browsers, so it is recommended to stop using Java uploader.
Now the upload module in HTML5 uploader is as powerful as in Java/ActiveX uploader. You can configure:
Now you can easily create a fingerprint for a file you are going to upload - for example, you can use it to check whether such file already exists on the server before you upload it. Or you can verify the file integrity.
You can both calculate it when preparing a file for the upload using the converter.hash, or calculate it for any item in the upload list in your JavaScript event handlers using the file.calculateHash(Function).
Now you can use setters for the file.name and file.relativePath to specify the file name and folder structure for the upload list items from JavaScript.
You can do the same things with IPTC metatada as you used to do with EXIF - copy IPTC with converter.thumbnailCopyIptc and extract specific IPTC fields with metadata.iptc.
BTW, now you can pass the * character to metadata.iptc and metadata.exif and the uploader will add all fields it finds in a file to the POST request.
Now you can use converter.thumbnailCopyColorProfile to have the uploader to preserve the color profile of the original image.
New converter.thumbnailResizeFailureDetector property allows handling situations when the browser failed to resize an image (e.g. if it runs out of memory). You can configure it either to retry the resize operation or fallback to the source file.
If you find it annoying when the uploader converts PNG images to JPEG during resize, you will find a new converter.thumbnailType param helpful. It allows configuring the output thumbnail type - JPEG, PNG or keep original.
Imagine you upload large JPEG photos and need to create 100x100 previews. Most of photos created with modern cameras have a smaller preview inside. Instead of loading, say, 12Mpix photo into memory, you can generate a thumbnail from 160x120 EXIF preview and make the process much faster! This mode is enabled in this version by default, but you can turn it off if necessary with converter.thumbnailUseExifPreview param.
Imagine, you want the uploader to create thumbnails, say, 200x200 which won't exceed 10KB. New converter.thumbnailSizeLimit param now allows automatically determine optimal JPEG size to meet a specific file size limit. You can also automatically select whether to use PNG or JPEG.
Now the open file dialog is not the only source of files. You can add your custom Blobs or, for example, get them from a custom drag-and-drop events! Just use the files.add(Object) method.
Now you have more control on the appearance of the cropping tool - you can specify the location where it appears, change the viewport size and even personalize the appearance!
The cropping tool itself now is touch-friendly.
Last, but least - the cropping tool now can be manipulated with a keyboard - use Tab to switch between buttons, arrows to move the cropping frame, Alt+arrows to resize the cropping frame and Shift key to do things faster.
Now the uploader uses AWS Signature Version 4 instead of an outdated Version 2. Therefore the uploads are more secure and compatible with all AWS regions.
Note, now you should specify new amazonS3Extender.region property to get it working.
Besides, some other minor Amazon S3 upload related issues were fixed. Now you can preserve a folder structure in a bucket.
Now HTML5 uploader support an upload directly to Amazon S3. The syntax and configuration is completely the same as in Java/ActiveX uploader (i.e. classes of the $au.amazonS3Extender namespace) and in addition it supports an additional property fileSettings.storageClass property to be able to specify whether to use a reduced redunancy or a regular class.
Uploading to Amazon S3 with HTML5 Uploader
Also, to make it possible, we have added a number of extra members to API which may be useful for other purposes as well:
First of all, now HTML5 uploader may generate resized copies using as high-quality algorithm as Java/ActiveX (much better than the standard canvas functionality). Just set converter.thumbnailResizeQuality to high and you will get as artifact-free images as using the same param in Java/ActiveX! However there is a payoff - this resize algorithm works much slower comparing to the standard method.
Another improvement is related to imageUploaderFlash.enableExifPreview property presented in a previous release. We have fixed a number of problems related to extracting thumbnails from EXIF, so if you had any problems with some images, they are gone. If not, feel free to send over some sample images to us and we will release urgent updates. Also, we got rid of black stripes a user could see for some images (they are added by a camera to the preview).
Also, we have solved a problem with large images on iOS and certain browsers. Now there is a converter.autoReduceDimensions param defines what to do if the image resizing on a particular device/browser will fail - reduce the output image dimensions automatically or behave as if a non-image is uploaded (so that you could fallback to the SourceFile converter).
Sometimes you may want to hide the uploader's user interface and organize it in a custom way. It was possible earlier, but you had to play with CSS to hide the uploader.
Now we have added a new property uploadPane.visible. Use it together with topPane.visible and statusPane.visible to completely hide the uploader.
We have also improved the file.getPreview(Object) method. Now you can specify not only the preview size, but also a fit mode - for example, you can easily get a square preview, similar to iOS. It also respects the rotation and crop.
We have included this new-born browser to our test plans. So far HTML5 uploaders works great there except of several glitches, which will be hopefully fixed by Microsoft soon.
This version received a lot of new functionality (mainly, image related).
Also, some annoying bugs were fixed:
Java uploader automatically displays instructions how to turn on Java plugin support in Chrome (they are hidden when the applet is loaded up).
Now HTML5 Uploader supports a converter.thumbnailWatermark property, i.e. it may apply watermarks, like other uploaders. In addition to the watermarking capabilities of the Flash Uploader, it has additional improvements:
Many people asked us to give more flexibility on the user interface and we did it.
Several minor features of Java uploader turned out to be important to some of our customers. We have added them to this release:
Here are some of these fixes:
Initially we just wanted to add few new demo applications. However as a result we have rewritten all of them:
Improved multi-threading safety of ASP.NET control (no more problems with insufficient permissions for a mutex).
It includes:
Demo application now can be browsed from a mobile device (e.g. http://demo.aurigma.com/UploadSuite).
If a user adds a non-image file, file type specific icon is displayed.
Fixed an issue with 64-bit ActiveX control initialization on Windows 7.
Fixed an issue with Thumbnail applet which did not display any files with too long filenames.
The following properties allow setting up colors of a pane item and its border when the item is in checked state: