If you're feeling fancy, you can even do both: attach the image as a file, then copy the URL, edit your post, and insert the URL in an [img] tag. It's useful if you want to attach the image at a particular spot in the post, but don't want to rely on external image hosting.