implementing jCrop to allow easy selection of image area to be processed, fixed scan.php for case 'single page processed'