The first image you attach to the first post in your thread will become the thumbnail. The attachment feature is the button that looks like a paperclip.