resize imageview frame in UploadViewController