GitHub - sky31/ImagePreview: A tool of uploading image preview base on HTML5

Skip to content

Navigation Menu

Sign in

Appearance settings

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. //...