Get started with file-uploader CDN
MIT licensed
Users can upload local files to a server using a JS file-uploader library.
Tags:- uploader
- multiple
- drag-and-drop
Stable version
Copied!
How to start using file-uploader CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with file-uploader CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fine-uploader/5.16.2/fine-uploader-gallery.min.css">
<script src="https://cdn.cdnhub.io/file-uploader/5.16.2/fine-uploader.min.js"></script>
</head>
<body>
<div id="uploader"></div>
<script>
document.addEventListener('DOMContentLoaded', function() {
var uploader = new qq.FineUploader({
element: document.getElementById('uploader'),
template: 'qq-gallery-template-angular',
dropZone: {
clickText: 'Drop files here or click to select'
},
callbacks: {
onSubmit: function(id, name) {
console.log('File ' + name + ' is being uploaded.');
},
onComplete: function(id, name, response) {
if (response.success()) {
console.log('Successful item ' + id + ': ' + response.responseText);
} else {
console.log('Error occurred during the upload of item ' + id.toString() + '. Response: ' + response.responseText);
}
}
}
});
});
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
All versions
2.1.2
3.1.1
3.2.0
3.3.0
3.3.1
3.4.0
3.4.1
3.5.0
3.6.0
3.6.1
3.6.2
3.6.3
3.6.4
3.7.0
5.1.1
5.1.2
5.1.3
5.10.0
5.10.1
5.11.0
5.11.1
5.11.10
5.11.10-beta
5.11.2
5.11.3
5.11.4
5.11.5
5.11.6
5.11.7
5.11.8
5.11.9
5.12.0
5.12.0-alpha
5.13.0
5.14.0
5.14.0-beta1
5.14.0-beta2
5.14.0-beta3
5.14.1
5.14.2
5.14.2-rc1
5.14.3
5.14.4
5.14.5
5.15.0
5.15.1
5.15.2
5.15.3
5.15.4
5.15.5
5.15.6
5.15.7
5.16.0
5.16.0-alpha.0
5.16.0-alpha.1
5.16.0-alpha.10
5.16.0-alpha.11
5.16.0-alpha.12
5.16.0-alpha.13
5.16.0-alpha.14
5.16.0-alpha.15
5.16.0-alpha.16
5.16.0-alpha.17
5.16.0-alpha.2
5.16.0-alpha.3
5.16.0-alpha.4
5.16.0-alpha.5
5.16.0-alpha.6
5.16.0-alpha.7
5.16.0-alpha.8
5.16.0-alpha.9
5.16.0-beta.0
5.16.0-RC1
5.16.0-RC2
5.16.0-RC3
5.16.0-RC4
5.16.1
*** 5.16.2
5.2.0
5.2.0-22
5.2.1
5.2.2
5.3.0
5.3.0-10
5.3.0-11
5.3.1
5.3.2
5.4.0
5.4.1
5.5.0
5.5.1
5.5.2
5.6.0
5.7.0
5.7.1
5.8.0
5.8.0-beta1
5.9.0