uiConstruction.js is a plugin for jQuery that adds a beautiful and parameterized a form Under Construction. It works in all modern browsers including touch devices.
http://msaikrd.github.io/uploadBase64/
HTML code:
<input id="input-file" type="file" multiple accept="image/*" name="file" />
JavaScript code:
//Standar usage:
$('#input-file').uploadBase64();
//Advance usage:
$('#input-file').uploadBase64({
limit:5, // Limit to upload image (Default unlimit)
maxsize:20024, // Max size in KB (Default unlimit)
filetype:['jpg','jpeg','png'] // List of supported extensions (Default JPG, JPEG, PNG, GIF)
});
jQuery 1.7 or later
- Chrome, Safari 5, Firefox, IE 7 or later
Released under a non-commercial BSD license