blueimp/jQuery-File-Upload — Issue #1017: Uploading image stuck at random times
Author: fenixkim
Created: 2012-02-14 23:03:22+00:00
State: open

I'm implementing the basic version of jQuery-File-Upload.

When uploading an image file, it may happens that the image gets stucked in the middle of the upload. This issue could happen at any radom time and there is not way to predict that. It simply stops working without giving any warning or failure message.

I realized that it happends only in **Mac's** Safari 5.1.2, I tested it in Window's Safari and it works correctly.

This is my implementation:

$('#fileupload').fileupload({
sequentialUploads: true,
acceptFileTypes: /(\.|\/)(gif|jpe?g|png)$/i,
dataType: 'json',
url: 'baseUrl("images/uploadimages")?>',
always: function (e, data) {
console.log("Always", data.result);
},
progress: function (e, data) {
var progress = parseInt(data.loaded / data.total * 100, 10);
console.log("Progress:", progress);
}
});

What I'm doing wrong??