Modify

Opened 14 years ago

Closed 14 years ago

#7997 closed defect (fixed)

Can't get an SVG to display

Reported by: Chris Nelson Owned by: Richard Liao
Priority: high Component: TracImageSvgMacro
Severity: blocker Keywords:
Cc: Trac Release: 0.11

Description

This may be my misunderstanding rather than a true defect but...

I downloaded the zip of ImageSVG and installed it in Trac 0.11.6. I've tried to use it with no success.

I created a test file and put:

[[ImageSvg(mytest.svg)]]

on a wiki page and nothing shows up. I tried two version of the test file:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">

<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">

<ellipse cx="240" cy="100" rx="220" ry="30"
style="fill:purple"/>

<ellipse cx="220" cy="70" rx="190" ry="20"
style="fill:lime"/>

<ellipse cx="210" cy="45" rx="170" ry="15"
style="fill:yellow"/>

</svg> 

and

<svg width="100%" height="100%" version="1.1"
xmlns="http://www.w3.org/2000/svg">

<ellipse cx="240" cy="100" rx="220" ry="30"
style="fill:purple"/>

<ellipse cx="220" cy="70" rx="190" ry="20"
style="fill:lime"/>

<ellipse cx="210" cy="45" rx="170" ry="15"
style="fill:yellow"/>

</svg> 

in the file. Neither one showed anything or put any errors in trac.log.

A known-good example in the plugin distribution would help.

Attachments (0)

Change History (1)

comment:1 Changed 14 years ago by Richard Liao

Resolution: fixed
Status: newclosed

A svg file named Warning.svg have been uploaded here for example purpose.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Richard Liao.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.