display post images across views and formatted the post detail display