Harry looked bemusedly at the photograph Colin was brandishing under his nose.
A moving, black-and-white Lockhart was tugging hard on an arm Harry recognized as his own. He was pleased to see that his photographic self was putting up a good fight and refusing to be dragged into view. As Harry watched, Lockhart gave up and slumped, panting, against the white edge of the picture.

Harry Potter and the Chamber of Secrets - Chapter 7 : Mudbloods and Murmurs
See this quote in the Pensive -