implemented photo support in memories managment