Contents
Display SVG image on Trac pages
Notice: TracImageSvgMacro is deprecated. SVG files can be rendered in modern browsers using Trac's Image macro.
If you need to display an SVG image with embedded, clickable links, the plugin is still relevant (as of 2018).
Description
This is a macro that allows you to display a SVG image in Trac wiki pages and in tickets using the ImageSvg macro. This macro can run in Trac 0.10 and 1.0.
This macro is to be used as follows:
- Upload svg files to a wiki page or a ticket, eg: Warning.svg.
- 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)]]
- Display right in TopPage/SubPage:
- 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)]]
- Display right in ticket 123:
Bugs/Feature Requests
Existing bugs and feature requests for TracImageSvgMacro are here.
If you have any issues, create a new ticket.
defect |
9 / 9 |
|
---|---|---|
enhancement |
1 / 1 |
Download
Download the zipped source from here.
Source
You can check out TracImageSvgMacro from here using Subversion, or browse the source with Trac.
Installation
Recent Changes
Author/Contributors
Author: richard
Maintainer: Richard Liao
Contributors: nmadura
See:ZoomQuiet ~ Collection KSPEG Trac hacking
Attachments (1)
- Warning.svg (5.4 KB) - added by 14 years ago.
Download all attachments as: .zip