Doug, what you describe actually amounts to a complex donation of time, which is NOT a tax write off.
The store would actually have to pay the $500 and the photographer would have to make a separate donation for tax purposes.
I think you need to check with a CPA or tax person on that, I really have no idea what the laws are in Canada. If you were in the US Jim is correct.