Modify

Opened 4 years ago

Closed 4 years ago

#7997 closed defect (fixed)

Can't get an SVG to display

Reported by: ChrisNelson Owned by: richard
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 4 years ago by richard

  • Resolution set to fixed
  • Status changed from new to closed

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

Add Comment

Modify Ticket

Action
as closed The owner will remain richard.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.