getting Image from ImagePicker and resizing to fit in profile picture