Get started with filepond CDN
MIT licensed
FilePond is a popular open-source library for handling file uploads in web applications.
Tags:- javascript
- file
- upload
- drag
- drop
- browse
- paste
- image
- preview
Stable version
Copied!
How to start using filepond CDN
<!DOCTYPE html>
<html>
<head>
<title>Get started with filepond CDN - cdnhub.io</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/filepond/4.30.6/filepond.min.css">
</head>
<body>
<input type="file" id="file-input" multiple accept="image/*">
<div id="output"></div>
<script src="https://cdn.cdnhub.io/filepond/4.30.6/filepond.min.js"></script>
<script>
FilePond.registerPlugin(FilePondPluginImagePreview);
FilePond.registerPlugin(FilePondPluginImageExifOrientation);
document.addEventListener('DOMContentLoaded', () => {
const inputElement = document.getElementById('file-input');
FilePond.create(inputElement).on('processfile', (event) => {
const outputElement = document.getElementById('output');
outputElement.innerHTML += `<p>File: ${event.file.name}</p>`;
});
});
</script>
</body>
</html>
Copied!
Copied!
Copied!
Copied!
Copied!
Copied!
All versions
4.12.1
4.12.2
4.13.0
4.13.1
4.13.2
4.13.3
4.13.4
4.13.5
4.13.6
4.13.7
4.14.0
4.15.1
4.16.0
4.17.0
4.17.1
4.18.0
4.19.0
4.19.1
4.19.2
4.20.0
4.20.1
4.21.0
4.21.1
4.22.0
4.22.1
4.23.0
4.23.1
4.24.0
4.25.0
4.25.1
4.25.2
4.25.3
4.26.0
4.26.1
4.26.2
4.27.0
4.27.1
4.27.2
4.27.3
4.28.0
4.28.1
4.28.2
4.29.0
4.29.1
4.30.0
4.30.1
4.30.2
4.30.3
4.30.4
4.30.5
4.30.6
4.31.1
4.31.2
4.31.3
*** 4.31.4