@@ -78,31 +78,31 @@ Step 1: Load the following assets in your header.
78
78
``` html
79
79
<!-- bootstrap 4.x is supported. You can also use the bootstrap css 3.3.x versions -->
80
80
<link rel =" stylesheet" href =" https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" >
81
- <link href =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.5 /css/fileinput.min.css" media =" all" rel =" stylesheet" type =" text/css" />
81
+ <link href =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.6 /css/fileinput.min.css" media =" all" rel =" stylesheet" type =" text/css" />
82
82
<!-- if using RTL (Right-To-Left) orientation, load the RTL CSS file after fileinput.css by uncommenting below -->
83
- <!-- link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.5 /css/fileinput-rtl.min.css" media="all" rel="stylesheet" type="text/css" /-->
83
+ <!-- link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.6 /css/fileinput-rtl.min.css" media="all" rel="stylesheet" type="text/css" /-->
84
84
<script src =" https://code.jquery.com/jquery-3.3.1.min.js" ></script >
85
85
<!-- piexif.min.js is needed for auto orienting image files OR when restoring exif data in resized images and when you
86
86
wish to resize images before upload. This must be loaded before fileinput.min.js -->
87
- <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.5 /js/plugins/piexif.min.js" type =" text/javascript" ></script >
87
+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.6 /js/plugins/piexif.min.js" type =" text/javascript" ></script >
88
88
<!-- sortable.min.js is only needed if you wish to sort / rearrange files in initial preview.
89
89
This must be loaded before fileinput.min.js -->
90
- <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.5 /js/plugins/sortable.min.js" type =" text/javascript" ></script >
90
+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.6 /js/plugins/sortable.min.js" type =" text/javascript" ></script >
91
91
<!-- purify.min.js is only needed if you wish to purify HTML content in your preview for
92
92
HTML files. This must be loaded before fileinput.min.js -->
93
- <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.5 /js/plugins/purify.min.js" type =" text/javascript" ></script >
93
+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.6 /js/plugins/purify.min.js" type =" text/javascript" ></script >
94
94
<!-- popper.min.js below is needed if you use bootstrap 4.x. You can also use the bootstrap js
95
95
3.3.x versions without popper.min.js. -->
96
96
<script src =" https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" ></script >
97
97
<!-- bootstrap.min.js below is needed if you wish to zoom and preview file content in a detail modal
98
98
dialog. bootstrap 4.x is supported. You can also use the bootstrap js 3.3.x versions. -->
99
99
<script src =" https://maxcdn.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" type =" text/javascript" ></script >
100
100
<!-- the main fileinput plugin file -->
101
- <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.5 /js/fileinput.min.js" ></script >
101
+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.6 /js/fileinput.min.js" ></script >
102
102
<!-- optionally if you need a theme like font awesome theme you can include it as mentioned below -->
103
- <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.5 /themes/fa/theme.js" ></script >
103
+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.6 /themes/fa/theme.js" ></script >
104
104
<!-- optionally if you need translation for your language then include locale file as mentioned below -->
105
- <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.5 /js/locales/(lang).js" ></script >
105
+ <script src =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-fileinput/5.0.6 /js/locales/(lang).js" ></script >
106
106
```
107
107
108
108
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 ` themes/fa/theme.js ` can be optionally included for the font awesome icons styling. The locale file ` <lang>.js ` can be optionally included for translating for your language if needed.
0 commit comments