This PHP script is created to implement a visual editor to let the user crop images. It can generate HTML, JavaScript and CSS for an user interface to let the user click on an image and define an area of the image to be cropped. Cropped image will be saved to a given file.