Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 446 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 446 Bytes

ImagePreview

A tool of uploading image preview base on HTML5

Support more <input> &<img>

Usage:

		<img  src="#" id="image-preview0"  alt="Responsive image">
		<input type="file"  id="file-0"  onchange="imagePreview(this)" >



		<img src="#" id="image-preview1" alt="image-preview">
		<input type="file" id="file-1"    onchange="imagePreview(this)">

        ......

Attention: The browser must support HTML5. //...