Photography transforms architecture; an exhibition surveying iconic images