MyChart might work differently for different health care providers but for me, the doctor's office took the photo and put it on there. I was surprised to see it there--and I'd never really seen it before.
Sorry I can't remember how I signed up but it was easy--or I wouldn't have done it.