The Photographers’ Gallery is transporting visitors back to post-war London, when a clandestine visual culture documenting gay men’s bodies emerged