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="{{ URL::asset('build/libs/filepond/filepond.min.css') }}" type="text/css" />
<link rel="stylesheet" href="{{ URL::asset('build/libs/filepond-plugin-image-preview/filepond-plugin-image-preview.min.css') }}">
Javascript
<!-- filepond js -->
<script src="{{ URL::asset('build/libs/filepond/filepond.min.js') }}"></script>
<script src="{{ URL::asset('build/libs/filepond-plugin-image-preview/filepond-plugin-image-preview.min.js') }}"></script>
<script src="{{ URL::asset('build/libs/filepond-plugin-file-validate-size/filepond-plugin-file-validate-size.min.js') }}"></script>
<script src="{{ URL::asset('build/libs/filepond-plugin-image-exif-orientation/filepond-plugin-image-exif-orientation.min.js') }}"></script>
<script src="{{ URL::asset('build/libs/filepond-plugin-file-encode/filepond-plugin-file-encode.min.js') }}"></script>
Initjs (Custom js)
<!-- File upload js -->
<script src="{{ URL::asset('build/js/pages/form-file-upload.init.js') }}"></script>
Add Package
npm i filepond --save
Remove Package
npm unistall filepond or you can remove package by removing specific package from package.json
Examples
Title | Javascript |
---|---|
Multiple File Upload |
|
Profile Picture Selection |
|