Below the text window, there are two tabs, Options and Upload attachment. If you chose a file, it will be uploaded when you click on Submit.
Also, you can upload it somewhere else, and link it with [.img]http://pathgoeshere[/img] code. (without the dot before the img.)