[[PageOutline(2-5,Contents,pullout)]] = Display SVG image == Description Display a [http://en.wikipedia.org/wiki/Scalable_Vector_Graphics SVG image] in wiki pages and in tickets using the !ImageSvg macro. This macro can run in Trac 0.10 and 1.0. == Bugs/Feature Requests Existing bugs and feature requests for TracImageSvgMacro are [report:9?COMPONENT=TracImageSvgMacro here]. If you have any issues, create a [http://trac-hacks.org/newticket?component=TracImageSvgMacro&owner=richard new ticket]. [[TicketQuery(component=TracImageSvgMacro,group=type,format=progress)]] == Download Download the zipped source from [download:tracimagesvgmacro here]. == Source You can check out TracImageSvgMacro from [http://trac-hacks.org/svn/tracimagesvgmacro here] using Subversion, or [source:tracimagesvgmacro browse the source] with Trac. == Installation * For Trac 0.10, please see [http://trac-hacks.org/browser/tracimagesvgmacro/0.10/imagesvg/readme.txt here]. * For Trac 0.11, please see [http://trac-hacks.org/browser/tracimagesvgmacro/0.11/imagesvg/readme.txt here]. == Example 1. Upload svg files to wiki or ticket, eg: [attachment:Warning.svg Warning.svg] 1. Display svg image in wiki page !TopPage/SubPage * Display right in !TopPage/SubPage: {{{ [[ImageSvg(Warning.svg)]] }}} * Display in other pages or tickets: {{{ [[ImageSvg(wiki:TopPage/SubPage:Warning.svg)]] }}} 1. Display svg image in ticket 123 * Display right in ticket 123: {{{ [[ImageSvg(Warning.svg)]] }}} * Display in other wiki pages or tickets which reference svg attachment of ticket 123: {{{ [[ImageSvg(ticket:123:Warning.svg)]] }}} == Recent Changes [[ChangeLog(tracimagesvgmacro, 3)]] == Author/Contributors '''Author:''' [wiki:richard] [[BR]] '''Maintainer:''' [wiki:richard] [[BR]] '''Contributors:''' [wiki:nmadura] See:'''ZoomQuiet''' ~ Collection KSPEG Trac hacking