Skip to content

jQuery plugin to resize images - Please note you can also resize images using CSS. Check the link below.

License

Notifications You must be signed in to change notification settings

adeelejaz/jquery-image-resize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#jQuery Image Resize Plugin

Version: v2.1.3

A super light jQuery plugin (less than 0.5KB) to dynamically resize the images without distorting the proportions or adding any extra HTML.

Please note you can also resize images using CSS: http://adeelejaz.com/blog/resize-image-without-using-javascript-or-jquery/

####HTML:

<img class="resizeme" src="sample1.jpg">

####JavaScript

$(function() {
    $( ".resizeme" ).aeImageResize({ height: 250, width: 250 });
});

####Options height An integer representing the maximum height for the image.

width An integer representing the maximum width for the image.

About

jQuery plugin to resize images - Please note you can also resize images using CSS. Check the link below.

Resources

License

Stars

Watchers

Forks

Packages

No packages published