From the first misty `heliograph'' taken by Joseph Nicephore Niepce in 1826 to the classic compositions of Cartier-Bresson and Alfred Steiglitz, to the striking postmodern strategies of Robert Mapplethorpe, Cindy Sherman and Victor Burgin, the history of photography is a record of dazzling and penetrating images