3 ms·
In the past, I had to build a crop dialog for an image which had border, padding, negative margin and absolute positioning. IIRC, the only one of these jQuery p
by jessedhillon 14y ago
In the past, I had to build a crop dialog for an image which had border, padding, negative margin and absolute positioning. IIRC, the only one of these jQuery plugins to get that right -- put the cropper and the mask in the right place -- was imgAreaSelect:
http://odyniec.net/projects/imgareaselect/ http://odyniec.net/projects/imgareaselect/
The code is imminently readable. One tweak I did add was to expose the variable which references the cropping element container, it's called $area
- ricardoarrigoni 14y agoThis plugin is good too, with him is possible to crop the image or just select a specific area?