getting the first image in a post to show up in the right place