NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #2545 most downloaded on Packagist
An enhanced HTML 5 file input for Bootstrap 5.x, 4.x, and 3.x with features for file preview for many file types, multiple selection, ajax uploads, and more.
Last release 2 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 1.4 years
Rarely documented
notes for 10 of the last 60 stable releases
Nothing withdrawn
no release was ever pulled
12 years old
92 releases · first in 2014
(bug #1858 ): Correct Plugin Options & Themes Initialization.
(enh #1856 ): Replace and fix deprecated jQuery methods.
Date: 11-Mar-2024
maxMultipleFileSize feature check.autocomplete for button.One column per quarter.
(bug #1822 ): Correct file type tokenizer parsing.
(enh #1809 , #1810 ): Correct minified plugins file "filetype.min.js".
(enh #1800 ): Styling enhancements for thumbnail content and rotatable images.
Major Release: BC Breaking
Date: 29-Jun-2022
{maxSize}, {minSize}, {size}.fa6explorer-fa6fa theme to fa4fas theme to fa5explorer-fa theme to explorer-fa4explorer-fas theme to explorer-fa5<!-- buffer.min.js and filetype.min.js are necessary in the order listed for advanced mime type parsing and more correct
preview. This is a feature available since v5.5.0 and is needed if you want to ensure file mime type is parsed
correctly even if the local file's extension is named incorrectly. This will ensure more correct preview of the
selected file (note: this will involve a small processing overhead in scanning of file contents locally). -->
<script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.5.0/js/plugins/buffer.min.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.5.0/js/plugins/filetype.min.js" type="text/javascript"></script>(enh #1791): Enhance preview update automatically when addToStack is called.
(enh #1785): Image rotation button action feature in thumbnail and zoom.
rotatableFileExtensions defaults to ['jpg', 'jpeg', 'png', 'gif'],fileActionSettings (rotateIcon, rotateTitle, rotateClass)previewZoomButtonIcons.rotate, previewZoomButtonClasses.rotate and previewZoomButtonTitles.rotate(enh #1788): Enhancements to showUserError method.
retainErrorHistory which allows you to retain previous errors (defaults to false)var $input = $('#file-input-id');
$input.on('fileuploaderror', function(event, data) {
var userMessage = 'We could not process the upload because of a server error.',
retainErrorHistory = true; // whether to retain error history
// to show error specific to each file pass `data` as received above (the `data` object must contain the `fileId` property)
$input.fileinput('showUserError', userMessage, data, retainErrorHistory);
// to show a constant global error not specific to each file do not pass `data` (uncomment below line to achieve this)
// $input.fileinput('showUserError', userMessage);
});alwaysPreviewFileExtensions - setup as an array list of extensions whose content will always be shown in preview (irrespective of preferIconPreview or previewFileIconSettings which will be used to control icon preview for configured types).(enh #1787 ): Enhance image size validation messages.
Date: 10-May-2022
layoutTemplates.fileIcon.autoReplace behavior to clear already uploaded thumbnails.showUserError and new event fileusererror.var $input = $('#file-input-id');
$input.on('fileuploaderror', function(event, data) {
var userMessage = 'We could not process the upload because of a server error.';
// to show error specific to each file pass `data` as received above (the `data` object must contain the `fileId` property)
$input.fileinput('showUserError', userMessage, data);
// to show a constant global error not specific to each file do not pass `data` (uncomment below line to achieve this)
// $input.fileinput('showUserError', userMessage);
});(enh #1767 ): Enhance ajax task queuing to validate maxAjaxThreads correctly.
Date: 17-Dec-2021
maxAjaxThreads correctly.
filebatchuploadsuccess and filebatchuploaderror)gly theme.(bug #1758 ): Correct bootstrap module parser.
(enh #1755 ): Simplify NPM module handling.
Date: 19-Sep-2021
(enh #1754 ): Default button styling & Explorer theme enhancements.
Date: 17-Sep-2021
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →