Sam, click "Modify" link right above corner of your post with the wrong image. You are now in the edit window. Click "Attachments and other options". You can remove the posted image in the "Attach:" section by clicking "(clear Attachment)". Now you can post the correct file again.
You can also add the images through the same procedure.