Category Archives: jQuery Image Resize Plugin

jQuery Image Resize Plugin v2.1.3

I’ve finally got around to updating the jQuery Image Resize plugin and pleased to get it working with jQuery 1.9+.

The plugin is also hosted on the new jQuery Plugins website: http://plugins.jquery.com/ae.image.resize/

I’ve also started using UglifyJS at it reduces the minified version to less than 0.5KB!

As usual, if you find any bugs, specially regarding IE, please do report them on github.

Download the latest version: https://github.com/adeelejaz/jquery-image-resize/releases
Report any bugs: https://github.com/adeelejaz/jquery-image-resize/issues

If for any reason you do not use github (seriously?!), then drop me a line on twitter, ideally with a jsfiddle example: @adeelejaz

Flattr this!

jQuery $.browser detection as a Separate File

As jQuery has removed $.browser from the versions > 1.9.0, I found myself extracting it to be used in my own projects that depended on the feature.

jQuery does provide jQuery Migrate plugin which includes the following code, but it also includes a lot of other things you might not need. I saw a couple of requests on the official blog and thought I’d put this live in case it helps anyone else.

Note: I highly recommend using tools like Modernizr for feature detection. Only use $.browser if you really need to detect the browser vendor!

Gist: https://gist.github.com/adeelejaz/4714079

Flattr this!

jQuery Image Resize Plugin v2.1.2

This has been long time coming. This small update fixes a very weird bug in IE9. For some odd reason, IE9 does not fire load event regardless of image load state. A simple solution was to set the image’s src property again.

As usual:

Download the latest version: https://github.com/adeelejaz/jquery-image-resize/releases
Report any bugs: https://github.com/adeelejaz/jquery-image-resize/issues

Flattr this!

jQuery Image Resize Plugin v2.1.1

The latest release for jQuery Image Resize Plugin fixes a nasty bug and as the following updates:

  • Fixed: Plugin stops working if height parameter was left out.
  • Optimised the whole plugin by reducing excessive function calls.
  • Improved code structure for quick execution.
  • Smaller minified version.

Download the latest version: https://github.com/adeelejaz/jquery-image-resize/releases
Report any bugs: https://github.com/adeelejaz/jquery-image-resize/issues

Flattr this!