here is html code…!
[php]
Cropper.js .label { cursor: pointer; }.progress {
display: none;
margin-bottom: 1rem;
}
.alert {
display: none;
}
.img-container img {
max-width: 100%;
}
Upload cropped image to server
Crop the image
×here is php code
[php]
mysqli_error()
$file_to_upload = $_FILES[‘avatar’][‘tmp_name’];
$file_name = ‘cropped.jpg’;
move_uploaded_file($file_to_upload, $file_name);
[/php]