fixing preview images on post listing pages