Installation
- Download the package and copy html5.image.preview.min.js to desired folder
- Include script in your HTML document
- Add onChange event to your input field: onchange="previewImage(this,[sizes],limit);"
* limit is number of Mb
Display images in multiple sizes before uploading. This script does not require third party libraries such as jQuery or Mootools and works on majority of devices including Android and iOS.
* limit is number of Mb