Extras

JavaScript Tools for Cropping Images in the Browser

Chapter 7 introduced the PHP extensions GD and ImageMagick, both of which can be used to create cropped versions of images on the server.

If you want to allow users to edit their own images before uploading them, you can consider one of the JavaScript options listed below.