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.
Your right, Jim.  (I wasn't quite sure on that aspect.)  Thanks for the correction. 
Doug