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