“In addition to the Hasselblads, on the second Gemini mission, history was made when the first picture of a spacecraft in orbit was taken by astronaut Ed White as he floated outside his spacecraft. He used a Zeiss Contarex 35mm camera mounted atop his gas-powered maneuvering gun” (https://history.nasa.gov/apollo_photo.html).
The nose of the Gemini spacecraft and the Command Pilot left window of the capsule (through which McDivitt took his photographs of the spacewalk) are visible.
From the mission transcript during the EVA:
004:37:47 McDivitt: Okay, do you want me to maneuver for you now, Ed?
004:37:50 White: No, I think you’re doing fine. What I’d like to do is get all the way out, Jim, and get a picture of the whole spacecraft. I don’t seem to be doing that.
004:38:00 McDivitt: Yes, I noticed that. You can’t seem to get far enough away. [...]
004:41:10 White: Okay, I’m going to free drift a little bit, and see if I can drift into some good picture-taking position.
004:41:16 McDivitt: Okay. Here, let me control the
spacecraft .....