You don't have to do anything special; it gets done automatically and will appear at the bottom of your message if you just attach it.
However, after attaching an image there will be a button beside it which lets you place it "inline" in the message. Doing so lets you put it somewhere other than the bottom of the message and also makes the page layout a bit better, especially if the image is wide.