Hookup click events for photos