Display SVG image
Table of Contents
SEE:ZoomQuiet ~ Collection KSPEG Trac hacking
Description
Display svg image in wiki, tickets using ImageSvg macro. This macro can run in trac 0.10 ~ 1.0.
Bugs/Feature Requests
Existing bugs and feature requests for TracImageSvgMacro are here.
If you have any issues, create a new ticket.
Download
Download the zipped source from here.
Source
You can check out TracImageSvgMacro from here using Subversion, or browse the source with Trac.
Install
Example
- Upload svg files to wiki or 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:
Recent Changes
[12393] by richard on 11/28/12 02:33:11
Add support for trac 1.0, apply patch from nmadura, see #10659
[8063] by richard on 06/03/10 03:05:42
fixed #7183 , support float width, height
[6728] by richard on 10/16/09 04:33:58
specify the width and height of the image, by Nathaniel
[6539] by richard on 09/14/09 04:33:13
update install guide for trac 0.10 and 0.11
Author/Contributors
Attachments
- Warning.svg (5.4 kB) - added by richard on 11/12/10 02:38:45.

