Well syntax aside, you can simply upload an attachment. When posting a message, notice the "Add an attachment" button at the bottom of the screen. Click on this button, upload your image (according to the supported upload file types, see the "Allowed extensions and sizes" link when you've clicked on "Add an attachment".
Once you have selected the file you want to upload, click on "Add attachment". Then click submit to complete the upload.