|
@@ -81,8 +81,8 @@ Step 1: Load the following assets in your header.
|
|
|
|
|
|
If you noticed, you need to load the `jquery.min.js` and `bootstrap.min.css` in addition to the `fileinput.min.css` and `fileinput.min.js`. The theme file `fileinput_locale_fa.js` can be optionally included for the font awesome icons styling. The locale file `fileinput_locale_<lang>.js` can be optionally included for translating for your language if needed.
|
|
|
|
|
|
-OTHER PLUGINS:
|
|
|
--------------
|
|
|
+**Optional Dependent Plugins**
|
|
|
+
|
|
|
- The `canvas-to-blob.min.js` file is the source for the [JavaScript-Canvas-to-Blob plugin by blueimp](https://github.com/blueimp/JavaScript-Canvas-to-Blob). It is required to be loaded before `fileinput.min.js` if you wish to use the image resize feature of the **bootstrap-fileinput** plugin.
|
|
|
- The `sortable.min.js` file is the source for the [Sortable plugin by rubaxa](https://github.com/rubaxa/Sortable). It is required to be loaded before `fileinput.min.js` if you wish to sort the thumbnails in the initial preview.
|
|
|
- The `purify.min.js` file is the source for the [DomPurify plugin by cure53](https://github.com/cure53/DOMPurify). It is required to be loaded before `fileinput.min.js` if you wish to purify your HTML for HTML content preview.
|