odyniec / imgareaselect

ImgAreaSelect is a jQuery plugin for selecting a rectangular area of an image. It allows web developers to easily implement image cropping functionality, as well as other user interface features, such as photo notes (like those on Flickr).
http://odyniec.net/projects/imgareaselect/
686 stars 197 forks source link

Added the destroy method. #65

Open david04 opened 10 years ago

azr commented 10 years ago

The most advanced/active repo of this libs seems to be here : https://github.com/samuelcole/imgareaselect

azr commented 10 years ago

In fact no, his version of master is broken

IRun26Point2 commented 10 years ago

I may be mistaken, but the source on odyniec's website seems to be ver 0.9.10, and I'm not sure if there are other forks that are out there that have a solid base for production code. I spent quite some time trying to integrate the multi select fork, but there were just too many shortcuts taken in the original design to get it to work durably. Polluting the DOM has been discussed, the use of global variables and side effects make it difficult to extend as assumptions get broken arbitrarily. For example, the notion of delete doesn't exist, it hides instead, but the multiselect fork deleted except for the last one, making composing with any kind of binding layer too complicated to rely on. Is anyone interested in spinning up an effort to refactor the base and add some of the top feature requests, maybe adding a binding layer, adding it to definitelytyped.com, etc?

azr commented 10 years ago

I went using Jcrop, much better.