Filepond-File Uploads
OverviewOfficial Website
Filepond is a JavaScript library that can upload anything you throw at it, optimizes images for faster uploads, and offers a great, accessible, silky smooth user experience.
CSS
<!-- Filepond css -->
<link rel="stylesheet" href="assets/libs/filepond/filepond.min.css" type="text/css" />
<link rel="stylesheet" href="assets/libs/filepond-plugin-image-preview/filepond-plugin-image-preview.min.css">
Javascript
<!-- filepond js -->
<script src="assets/libs/filepond/filepond.min.js"></script>
<script src="assets/libs/filepond-plugin-image-preview/filepond-plugin-image-preview.min.js"></script>
<script src="assets/libs/filepond-plugin-file-validate-size/filepond-plugin-file-validate-size.min.js"></script>
<script src="assets/libs/filepond-plugin-image-exif-orientation/filepond-plugin-image-exif-orientation.min.js"></script>
<script src="assets/libs/filepond-plugin-file-encode/filepond-plugin-file-encode.min.js"></script>
Initjs (Custom js)
<!-- File upload js -->
<script src="assets/js/pages/form-file-upload.init.js"></script>
Add Package
yarn add filepond --save
Remove Package
yarn remove filepond or you can remove package by removing specific package from package.json
Examples
Title | Javascript |
---|---|
Multiple File Upload |
|
Profile Picture Selection |
|