Goose took the picture, Maverick rendered the passing honors.
I guess I got confused over who took the picture since Charlie (Kelly McGillis) invited Maverick for dinner to discuss it, lol.