Forum OpenACS Development: Re: SVG on AOLServer

Collapse
5: Re: SVG on AOLServer (response to 4)
Posted by Matthew Taylor on
Sure Jade,
I did the following:

1. Added svg mime type to config.tcl file at "ns_section ns/mimetypes" like so
ns_param  .svg              image/svg+xml

2. Then to view a SVG file it needs to be referenced like so
<EMBED SRC="filename.svg" NAME="SVGEmbed" HEIGHT=400 WIDTH=100%
TYPE="image/svg+xml" PLUGINSPAGE="http://www.adobe.com/svg/viewer/install/">

Hope this helps

Matt