jQuery-File-Upload icon indicating copy to clipboard operation
jQuery-File-Upload copied to clipboard

What components are necessary for progress bars to appear?

Open merrydown opened this issue 14 years ago • 2 comments

I'm afraid I am getting slow to learn. I have everything working apart from the browse button swapout and progress bars. I can't work out from the examples what elements are crucial to make these appear.

If anyone has a template with the code page intact so I can see what to do I would be eternally grateful!

Many thanks for a great set of scripts. A more complete help file for slowboats like me would be a great future expansion.

Regards!

merrydown avatar Apr 05 '12 11:04 merrydown

I think I have all the includes for css and javascript in place:

bootstrap.min.css bootstrap-responsive.min.css jquery.fileupload-ui.css

jquery171.min.js jquery.ui.widget.js load-image.min.js canvas-to-blob.min.js jquery.bootstrap.min.js jquery.iframe-transport.js jquery.fileupload.js jquery.fileupload-ip.js jquery.fileupload-ui.js locale.js tmpl.min.js


  • my main launch javascript is:

$(function () { $('#fileupload').fileupload({ dataType: 'json', url: '../fileUpload/server/php/index.php', autoUpload: true, resizeMaxWidth: 600, resizeMaxHeight: 600, maxNumberOfFiles: 8, done: function (e, data) { $.each(data.result, function (index, file) { $('

').text(file.name).appendTo(document.body); }); } }); }); ///REDIRECT AFTER UPLOADED ALL:/ $('#fileupload') .bind('fileuploadstop', function (e, data) { window.location.href = '/imageProc/imageAddMultiInc2.php'; })


I have combined my form with that from the example page including the progress bar divs

span5

progress progress-success progress-striped active fade

bar

fileupload-loading


What else do I need to do to get the progrss bars working? Could anyone help show me what I need to include and where in my main javascript code in order to make the progress bars active?

Many thanks for any help, I just cant find my way past this...

Cheers...

merrydown avatar Apr 06 '12 11:04 merrydown

Please read: https://github.com/blueimp/jQuery-File-Upload#support

blueimp avatar Sep 06 '12 02:09 blueimp