A study on taking photographs and memory