added thread view layout for posts with images