This is how photographs from ISS are taken

Expedition 36 flight engineer, NASA astronaut Chris Cassidy, inside the cupola on the Space Station, uses a 400mm lens on a digital still camera to photograph a target of opportunity on Earth some 250 miles below him.   Image © NASA

Cassidy has been aboard the orbital outpost since late March and will continue his stay into September.

source NASA