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?).