How to photograph the Milky Way