django-image-cropping
django-image-cropping copied to clipboard
Improve UX when cropping image size is less than needed
Instead of applying styles (red border around the crop frame as in current implementation), we can just use minSize
option of Jcrop (which is now hardcoded to [5, 5]
). That way user can not initialize crop frame or resize it to size smaller than minSize
. With warning approach user needs to repeat resizing multiple times to figure out what the correct size is because warning state is changed only after releasing mouse.
Related: #106.
As mentioned in #106 it would be helpful if you would demonstrate your approach in a PR.
ping @arogachev