@@ -83,7 +83,7 @@ Step 1: Load the following assets on your page in the order mentioned.
83
83
84
84
``` html
85
85
<!-- bootstrap 5.x or 4.x is supported. You can also use the bootstrap css 3.3.x versions -->
86
- <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/bootstrap@5.1.1 /dist/css/bootstrap.min.css" crossorigin =" anonymous" >
86
+ <link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/bootstrap@5.1.3 /dist/css/bootstrap.min.css" crossorigin =" anonymous" >
87
87
88
88
<!-- default icons used in the plugin are from Bootstrap 5.x icon library (which can be enabled by loading CSS below) -->
89
89
<link rel =" stylesheet" href =" https://cdn.jsdelivr.net/npm/bootstrap-icons@1.5.0/font/bootstrap-icons.min.css" crossorigin =" anonymous" >
@@ -92,34 +92,34 @@ Step 1: Load the following assets on your page in the order mentioned.
92
92
<!-- link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.4/css/all.css" crossorigin="anonymous" -->
93
93
94
94
<!-- the fileinput plugin styling CSS file -->
95
- <link href =" https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6 /css/fileinput.min.css" media =" all" rel =" stylesheet" type =" text/css" />
95
+ <link href =" https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7 /css/fileinput.min.css" media =" all" rel =" stylesheet" type =" text/css" />
96
96
97
97
<!-- if using RTL (Right-To-Left) orientation, load the RTL CSS file after fileinput.css by uncommenting below -->
98
- <!-- link href="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6 /css/fileinput-rtl.min.css" media="all" rel="stylesheet" type="text/css" /-->
98
+ <!-- link href="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7 /css/fileinput-rtl.min.css" media="all" rel="stylesheet" type="text/css" /-->
99
99
100
100
<!-- the jQuery Library -->
101
101
<script src =" https://code.jquery.com/jquery-3.6.0.min.js" crossorigin =" anonymous" ></script >
102
102
103
103
<!-- piexif.min.js is needed for auto orienting image files OR when restoring exif data in resized images and when you
104
104
wish to resize images before upload. This must be loaded before fileinput.min.js -->
105
- <script src =" https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6 /js/plugins/piexif.min.js" type =" text/javascript" ></script >
105
+ <script src =" https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7 /js/plugins/piexif.min.js" type =" text/javascript" ></script >
106
106
107
107
<!-- sortable.min.js is only needed if you wish to sort / rearrange files in initial preview.
108
108
This must be loaded before fileinput.min.js -->
109
- <script src =" https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6 /js/plugins/sortable.min.js" type =" text/javascript" ></script >
109
+ <script src =" https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7 /js/plugins/sortable.min.js" type =" text/javascript" ></script >
110
110
111
111
<!-- bootstrap.bundle.min.js below is needed if you wish to zoom and preview file content in a detail modal
112
112
dialog. bootstrap 5.x or 4.x is supported. You can also use the bootstrap js 3.3.x versions. -->
113
- <script src =" https://cdn.jsdelivr.net/npm/bootstrap@5.1.1 /dist/js/bootstrap.bundle.min.js" crossorigin =" anonymous" ></script >
113
+ <script src =" https://cdn.jsdelivr.net/npm/bootstrap@5.1.3 /dist/js/bootstrap.bundle.min.js" crossorigin =" anonymous" ></script >
114
114
115
115
<!-- the main fileinput plugin script JS file -->
116
- <script src =" https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6 /js/fileinput.min.js" ></script >
116
+ <script src =" https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7 /js/fileinput.min.js" ></script >
117
117
118
118
<!-- following theme script is needed to use the Font Awesome 5.x theme (`fas`). Uncomment if needed. -->
119
- <!-- script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6 /themes/fas/theme.min.js"></script -->
119
+ <!-- script src="https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7 /themes/fas/theme.min.js"></script -->
120
120
121
121
<!-- optionally if you need translation for your language then include the locale file as mentioned below (replace LANG.js with your language locale) -->
122
- <script src =" https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.6 /js/locales/LANG.js" ></script >
122
+ <script src =" https://cdn.jsdelivr.net/gh/kartik-v/bootstrap-fileinput@5.2.7 /js/locales/LANG.js" ></script >
123
123
```
124
124
With v5.2.1, the plugin is able to automatically detect the bootstrap library version and deliver the relevant bootstrap specific functionality (if you have loaded the bootstrap.min.js before fileinput.min.js). In case of any issues - you can explicitly set the bootstrap version by setting the following variable before the plugin initialization script.
125
125
0 commit comments