Skip to content

jQuery plugin for having live preview of selected image from file browser (input[type=file]).

License

Notifications You must be signed in to change notification settings

harryjoy/premage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

premage

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.

Usage

/* Here imgLive is the id of input having type=file. */
$("#imglive").premage({
	width:'64px',
	height:'64px',
	shape: {
		type: 'round'
	}
});

More Details

Wiki Pages.

Download latest release

Click Here

About

jQuery plugin for having live preview of selected image from file browser (input[type=file]).

Resources

License

Stars

Watchers

Forks

Packages

No packages published