implement sharing a picture