The basic idea is that the user will drag his mouse over the image to crop it . To that end, when you click “Crop”, the user can select a lower left point, then drag the rectangle up to the top right. The rectangle should shade the outside area not selected.