Cognitive impact of photographs on the brain