Display SVG image

SEE:ZoomQuiet ~ Collection KSPEG Trac hacking

Description

Display svg image in wiki, tickets using ImageSvg macro. This macro can run in trac 0.10.

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

  • For trac 0.10, please see: here
  • For trac 0.11, please see: here

Example

  1. Upload svg files to wiki or ticket, eg: example.svg
  2. Display svg image in wiki page TopPage/SubPage
    • Display right in TopPage/SubPage:
      [[ImageSvg(example.svg)]]
      
    • Display in other pages or tickets:
      [[ImageSvg(wiki:TopPage/SubPage:example.svg)]]
      
  3. Display svg image in ticket 123
    • Display right in ticket 123:
      [[ImageSvg(example.svg)]]
      
    • Display in other wiki pages or tickets which reference svg attachment of ticket 123:
      [[ImageSvg(ticket:123:example.svg)]]
      

Recent Changes

[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

[6538] by richard on 09/14/09 04:16:12

Fixed sub-page exception, thanks for TJ

[6338] by richard on 08/07/09 05:14:15

remove license.txt

Author/Contributors

Author: richard
Maintainer: richard
Contributors: