library to crop images in a web browser