jQuery plugin for having live preview of selected image from file browser (input[type=file]).
- Easily configurable.
- Provide default image to be displayed as place holder.
- Animations while changing the image.
- Display image in different shapes.
- Works in all major browsers.
- Requires jQuery and jQuery UI.
- MIT License.
/* Here imgLive is the id of input having type=file. */
$("#imglive").premage({
width:'64px',
height:'64px',
shape: {
type: 'round'
}
});