TracImgSvg no longer works due to a change in how attachments are stored.
|Reported by:||Nathaniel Madura||Owned by:||Richard Liao|
See this ticket http://trac.edgewall.org/ticket/10313 for more details, but the attachments directory has moved to files/attachments and the attachment names are SHA-1'ed along with their page name.
Attached is a unified diff of a solution to the problem. note that wiki pages can have depth "some/page/to/wiki" which is why you can't assume the wiki page is in the 5th position of the array.