Cannot link Wiki Images
You cannot (or should not, at least) put wiki link or URL tags around the Wiki IMAGE tag, because this will result in bad XHTML and broken nested links. But I suspect this would be a problem, because users may typically want to link the entire image rather than just the caption.
This will require replacing the divs with spans, changing the image-css again, and checking the surrounding tags for links before IMAGE adds its own.