finished diary photo function

finished diary photo function