We also need this feature. The flow must basically look like this.
1) An "Image/video" button close to the quickreply form (could be the same as the "Upload a File" button, then it just needs to be renamed).
2) Images and videos uploaded this way must also be visible in the media gallery...