I need a way for user to select the portion of an image either by recizing transparent rectangle or by clicking and dragging the selection area (as it's done in desctop OS), both would work for me. Then i need to retrieve the coordinates of the selected area with jQuery.
Please recommend samples or tuts (if there are any), methods or API documentations sections that could help. Thanks!
See Jcrop and it's demos.
<!-- This is the image we're attaching Jcrop to --> <img src="demo_files/pool.jpg" id="target" alt="Flowers" />
And the script: