functional image uploader in place, replacing url uploader