added single-post view and post photo url field