I would like something like
<pic file="mindmap.jpg" width=30% align=right caption="this is a mindmap" />
where mindmap.jpg is a file that was uploaded to the web server using the mediawiki Upload file. to use src, I have to figure out that the path is something like src="/images/4/44/mindmap.jpg" and that may change if I upload a newer version of the file.