Thread:Project:Support desk/Internal image links not working/reply (7)

So, what I gave you works except for the external image in a new window ($wgExternalLinkTarget) setting. You could make what I gave work if you used the LinkerMakeExternalLink hook to keep $wgExternalLinkTarget from affecting the image links.