Archive for the ‘imgAreaSelect’ Category

ImgAreaSelect 0.3 Released

Sunday, March 30th, 2008

I’ve finally had some spare time to update the imgAreaSelect jQuery plugin. A couple goodies that you people requested are now added, including the ability to pre-select an area on initialization, and dynamically change selection options.

All the usage examples have been updated to demonstrate a more bulletproof way of initializing the plugin. The initialization method is now called in the $(window).load() event handler instead of $(document).ready(), to prevent the plugin from being started before the image itself has finished loading — I know a few people encountered this problem. Thanks to Wojtek Zymonik for pointing it out.

I’ve also reworked the callback function example to incorporate real-time preview scaling (sounds neat, doesn’t it?).

ImgAreaSelect 0.2

Monday, March 10th, 2008

Since many people (okay, actually just six people) requested a few additional features for the imgAreaSelect plugin, I’m releasing an updated version. The plugin now supports moving and resizing of the selection area, width/height limits, and fixed proportions.

I’ve also added a couple more usage examples.

ImgAreaSelect

Sunday, February 24th, 2008

I’m releasing my second jQuery plugin today. It’s called imgAreaSelect, and it serves the exalted purpose of letting the user select a rectangular area within an image.

What good is selecting a rectangular area within an image, you may ask? Well, I originally used the code in a web gallery application — it allowed the user to select a part of a newly added image for cropping. So that’s one thing that it’s good for, but of course you can use it for any other wicked purpose that comes to your mind.