For those that have been on facebook it allows you to upload an image to use as your avatar, and if that image is too large you can drag it around in a container to set the co-ordinates of the crop.
Can anyone Help me out to implement this functionality in c# ASP.NET
If you don't want Facebook to crop your profile picture, make sure it meets the recommended dimensions. The maximum pixel size for PCs is 170 x 170 pixels. On smartphones, the recommended dimensions are 128 x 128 pixels. If you upload an image that's bigger than that, Facebook will automatically crop it.
Probably this will do the job for you
http://webcropimage.codeplex.com/
For writing your own image cropper, study the source code of that.
This will be mostly client-side. You can take a look at something like Jcrop.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With