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

Odd behavior with set selection dimensions #86

Open Luke-SF opened 8 years ago

Luke-SF commented 8 years ago

I have to have a specific size of image extracted/resized out of a bigger one, and I thought imgAreaSelect would be the natural choice - unfortunately it seems it breaks in this case, as you can see in this jsfiddle:

http://jsfiddle.net/8knnx00p/

In general, when maxWidth, maxHeight, minHeight and minWidth are used it seems to not work, or when it does work even just clicking the image appears to break it.