main progress bar 100% but not 100% complete at all thumbnails

Web Tips Q & ACategory: Krajee Pluginsmain progress bar 100% but not 100% complete at all thumbnails
ale asked 3 weeks ago

main progress bar 100% but not 100% complete at all thumbnails

Hello I’m facing a issue that become eventually, in different images and different moments.

I’m uploading a batch of 6 or 7 images at same time via ajax method, and works like a charm but
 sometimes some thumbnail’s progress bar is freezed but not the main bar, resulting in a 100% complete
 message in main bar but in some files still moving it’s progression bar, maybe 10 seconds plus main
 bar is 100%. Sometimes the thumbnail’s bar was totally freeze, but it’s more difficult to see

I actually can’t reproduce the problem, as in some momment in some image it happen, but next try the
 same process works without issues.
Really don’t know if issue is thumbnail’s mini bar, or main bar of all upload, but I wonder how I
 could fix this to if are thumbnails uploading yet (as it’s progress bar show) the main progression don’t
 reach 100%
I also are open to patch the code to check if all thumbnails was finnished but not sure
 where add the control, neither if would control the correct var.

Here is how start the library

$("#input-2").fileinput({
    language: 'es',
    allowedFileTypes: ['image'],
    allowedFileExtensions: ["jpg", "png"],
    maxImageWidth: 2000,
    maxImageHeight: 2000,
    maxFileCount: 10,
    maxFileSize: 2600,
    removeFromPreviewOnError: true,
    uploadUrl: dest,
    uploadAsync: true,
    showUpload: true,
    browseOnZoneClick: true,
    maxFilesNum: 10,
    overwriteInitial: false,
    uploadExtraData: extra
    
})

Any help would be appreciated.
Have a nice day.
Ale

Login or register to contribute or comment.

Login   Register