added auto height to post images