jquery - BlueImp silently fails on file upload -


when try upload using blueimp, fllowing error when open console:

uncaught typeerror: cannot read property 'parsemetadata' of undefined 

accompanied stack trace. seems calling upload logic without file. there way can more information?

make sure including js script https://blueimp.github.io/javascript-load-image/js/load-image.all.min.js before of file upload scripts. file needed parsemetadata function.

<script> includes should in following order, taken directly example found @ https://blueimp.github.io/jquery-file-upload/.

<!-- load image plugin included preview images , image resizing functionality --> <script src="//blueimp.github.io/javascript-load-image/js/load-image.all.min.js"></script> <!-- canvas blob plugin included image resizing functionality --> <script src="//blueimp.github.io/javascript-canvas-to-blob/js/canvas-to-blob.min.js"></script> <!-- iframe transport required browsers without support xhr file uploads --> <script src="js/jquery.iframe-transport.js"></script> <!-- basic file upload plugin --> <script src="js/jquery.fileupload.js"></script> <!-- file upload processing plugin --> <script src="js/jquery.fileupload-process.js"></script> <!-- file upload image preview & resize plugin --> <script src="js/jquery.fileupload-image.js"></script> <!-- file upload audio preview plugin --> <script src="js/jquery.fileupload-audio.js"></script> <!-- file upload video preview plugin --> <script src="js/jquery.fileupload-video.js"></script> <!-- file upload validation plugin --> <script src="js/jquery.fileupload-validate.js"></script> <!-- file upload user interface plugin --> <script src="js/jquery.fileupload-ui.js"></script> 

Comments

Popular posts from this blog

javascript - Using jquery append to add option values into a select element not working -

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -