A complete example of Cropper.
- PHP 5.5+
- Chrome (latest 2)
- Firefox (latest 2)
- Internet Explorer 8+
- Opera (latest 2)
- Safari (latest 2)
Take Chrome for example:
- Open the example page on Chrome.
- Open the Developer Tools of the browser.
- Choose the Network panel from the opened window.
- Click the Clear button to clear the existent logs.
- Click avatar to open the cropping modal.
- Click the file input to choose an image from your local computer.
- Crop the image with the Cropper.
- Click the Save button to upload and crop the image.
- Check the Network panel if you got a
parse error
. - Click the
crop.php
request item from the Name column of the panel. - Click the Preview panel from the opened window.
- Find the error from the response.
You might upload a huge image, just configure the upload_max_filesize
and post_max_size
of your php.ini
file.