added exception in case "imagecrop" is not available