Resize Image Width Jquery. Cropzee input cropzee custom aspect radio aspectratio. Checks if the image is already in original size.
Line 9 starts the jquery each function that iterates over each image one by one. Null start size of crop region startsize. If imgwidth originalwidth imgheight originalheight resizeimage.
Else this css width originalwidth.
Null min max sizes maxsize. Line 11 stores the image s width to a variable and is for reducing the size of the script. Even now some features are not equally supported by all major browsers. Line 12 checks if the image height is greater than the image width.