trying to get ios sending an image working