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="/static/libs/filepond/dist/filepond.min.css" type="text/css" />
<link rel="stylesheet" href="/static/libs/filepond-plugin-image-preview/dist/filepond-plugin-image-preview.min.css">
Javascript
<!-- filepond js -->
<script src="/static/libs/filepond/dist/filepond.min.js"></script>
<script src="/static/libs/filepond-plugin-image-preview/dist/filepond-plugin-image-preview.min.js"></script>
<script src="/static/libs/filepond-plugin-file-validate-size/dist/filepond-plugin-file-validate-size.min.js"></script>
<script src="/static/libs/filepond-plugin-image-exif-orientation/dist/filepond-plugin-image-exif-orientation.min.js"></script>
<script src="/static/libs/filepond-plugin-file-encode/dist/filepond-plugin-file-encode.min.js"></script>
Initjs (Custom js)
<!-- File upload js -->
<script src="/static/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 |
|