diary picture functionality