Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 355 Bytes

README.md

File metadata and controls

8 lines (5 loc) · 355 Bytes

cropAndUpload

A sample on how to crop your image and upload easily and properly. Here we are using cropper.js and php to crop the image then upload it to a desired loaction.

Why am uploading this?

I found a lot of crop and upload code. But the problem was in getting the propper cropped image. Here we get the cropped image size, ratio in properly.