Browse Source

Upgrade to release v4.1.7

Kartik Visweswaran 10 years ago
parent
commit
1a1d7d3e2a

+ 1 - 0
CHANGE.md

@@ -18,6 +18,7 @@ version 4.1.7
 10. (bug #160): Correct documentation typo for usage.
 11. (enh #162): New property ajaxSettings to allow configuring ajax params.
 12. Set copyright year to current.
+13. Relocate sample files from examples directory to [bootstrap-fileinput-samples](https://github.com/kartik-v/bootstrap-fileinput-samples) repo.
 
 version 4.1.6
 =============

+ 1 - 1
LICENSE.md

@@ -1,4 +1,4 @@
-Copyright (c) 2015, Kartik Visweswaran  
+Copyright (c) 2014 - 2015, Kartik Visweswaran  
 Krajee.com  
 All rights reserved.  
 

+ 1 - 1
css/fileinput.css

@@ -1,5 +1,5 @@
 /*!
- * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015
+ * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
  * @package bootstrap-fileinput
  * @version 4.1.7
  *

+ 1 - 1
css/fileinput.min.css

@@ -1,5 +1,5 @@
 /*!
- * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2015
+ * @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014 - 2015
  * @package bootstrap-fileinput
  * @version 4.1.7
  *

BIN
examples/BannerSnack-ad-336x280.swf


BIN
examples/Car-speakers-590x90.swf


BIN
examples/Desert.jpg


BIN
examples/Hydrangeas.jpg


BIN
examples/Jellyfish.jpg


BIN
examples/Koala.jpg


BIN
examples/Lighthouse.jpg


BIN
examples/Penguins[WithSpecialChars].jpg


BIN
examples/This is a long file name to just check how the fileinput plugin can autosize the file caption displayed across device sizes.jpg


BIN
examples/Tulips.jpg


+ 4 - 12
examples/index.html

@@ -1,5 +1,5 @@
 <!DOCTYPE html>
-<!-- release v4.1.7, copyright 2015 Kartik Visweswaran -->
+<!-- release v4.1.7, copyright 2014 - 2015 Kartik Visweswaran -->
 <html lang="en">
     <head>
         <meta charset="UTF-8"/>
@@ -12,7 +12,7 @@
     </head>
     <body>
         <div class="container kv-main">
-            <h1>Bootstrap File Input Example</h1>
+            <h1>Bootstrap File Input Example <small><a href="https://github.com/kartik-v/bootstrap-fileinput-samples"><i class="glyphicon glyphicon-download"></i> Download Sample Files</a></small></h1>
             <form enctype="multipart/form-data">
                 <input id="file-0" class="file" type="file" multiple=true>
                 <br>
@@ -20,10 +20,7 @@
                     <input id="file-0a" class="file" type="file">
                 </div>
                 <div class="form-group">
-                    <input id="file-1" class="file" type="file" multiple=true data-preview-file-type="any">
-                </div>
-                <div class="form-group">
-                    <input id="file-1a" type="file" multiple=true class="file" data-show-upload="false" data-preview-file-type="any" data-initial-caption="Kartik" data-overwrite-initial="false">
+                    <input id="file-1" type="file" multiple=true class="file" data-show-upload="false" data-preview-file-type="any" data-initial-caption="Kartik" data-overwrite-initial="false">
                 </div>
                 <div class="form-group">
                     <input id="file-2" type="file" class="file" readonly=true data-show-upload="false">
@@ -55,12 +52,7 @@
         'allowedFileExtensions' : ['jpg', 'png','gif'],
     });
     $("#file-1").fileinput({
-        initialPreview: ["<img src='Desert.jpg' class='file-preview-image'>", "<img src='Jellyfish.jpg' class='file-preview-image'>"],
-        initialPreviewConfig: [
-            {caption: 'Desert.jpg', width: '120px', url: '#'},
-            {caption: 'Jellyfish.jpg', width: '120px', url: '#'},
-        ],
-        uploadUrl: '#',
+        uploadUrl: '#', // you must set a valid URL here else you will get an error
         allowedFileExtensions : ['jpg', 'png','gif'],
         overwriteInitial: false,
         maxFileSize: 1000,

BIN
examples/large-width-image.jpg


BIN
examples/small.3gp


BIN
examples/small.flv


BIN
examples/small.mp4


BIN
examples/small.ogg


BIN
examples/small.webm


+ 1 - 1
js/fileinput.js

@@ -1,5 +1,5 @@
 /*!
- * @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015
+ * @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2015
  * @version 4.1.7
  *
  * File input styled for Bootstrap 3.0 that utilizes HTML5 File Input's advanced 

+ 1 - 1
js/fileinput.min.js

@@ -1,5 +1,5 @@
 /*!
-* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2015
+* @copyright Copyright &copy; Kartik Visweswaran, Krajee.com, 2014 - 2015
 * @package bootstrap-fileinput
 * @version 4.1.7
 *