Change Your Avatar is an advanced file upload script created with jQuery and PHP that allows uploading image or taking a picture with a web camera and set it as your profile picture.
You can crop, rotate, resize, flip the uploaded / camera taken picture on the FLY. Once it is done you can save the image path in the database and store the file in the server.
It is very easy to customize the codes. Even you can add this code to your existing project very easily, just copy paste.
Well documented PDF file included in the zip file.