Once you are out of the atmosphere and turn off your thrusters, you are on "fee fall" and the gravity on the camera, you and the spaceship produce the same acceleration and they cancel and it looks exactly like "zero gravity". It doesn't matter if you are in orbit around the Earth, going to the Moon.
Actually not quite correct. The camera and spaceship will generally have different starting positions of their center of gravity but the same starting velocity, leading them to drift apart.
The only real relevant thing for the photograph is rotation though as long as the camera doesn’t float in front of the window frame, and airflow is probably much more relevant for both points than gravity.