Simple implementation of retrieving avatar from camera or device gallery with image cropping.