The history of photography began in remote antiquity with
the discovery of two critical principles: camera obscura image projection
and the observation that some substances are visibly altered by exposure
to light. There are no artifacts or descriptions that indicate any attempt
to capture images with light sensitive materials prior to the 18th
century.
More on
Wikipedia