the cheapest trick i think would be to add the mime type in a new token in the option list; if the one active is of major type image/; enable a button 'insert image at cursor' done.
though you've got problems in the preview here; cause during editing the messages images have to be displayed, and there is no message to retrieve the image from, right? so... maybe a dummy image? and a preview button?