Earliest known or oldest surviving photograph is dated 1826/27, taken by Joseph Nicéphore Niépce, a view, in Le Gras, Burgundy.
So it's not correct to put photographs depicting people before this date. A painting or drawing is a totally different thing.