A taxi driver can't deny a ride because the person is black, or because the fare is a gay couple.
Why should taking pictures for hire be any different than providing a ride for hire?
[ Hint: it's not, under the law ]
So you think attending a same sex wedding is just the same as driving a gay couple in a taxi, from the point of view of the free exercise of religious beliefs? That is a profoundly ignorant comparison.