crop user picked image to square image