Make sure that images are loaded before finding the height of posts.