made uploading a picture work