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).
... if original image size pass exactly into the HTML image container.
e.g. if the image is 600x600 and the container is 300x300 the selection results into:
x2 = 301
y2 = 301
Additional x1 and y1 were calculated into negative values
... if original image size pass exactly into the HTML image container. e.g. if the image is 600x600 and the container is 300x300 the selection results into:
Additional x1 and y1 were calculated into negative values