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.