Skip to content
This repository

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

branch: master
README.md

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.

Something went wrong with that request. Please try again.