W3C home > Mailing lists > Public > www-svg@w3.org > November 2006

Re: displaying svg as an img instead of its source

From: Erik Dahlström <ed@opera.com>
Date: Thu, 16 Nov 2006 11:03:44 +0100
To: velcrobandits <velcrobandits@gmail.com>, www-svg@w3.org
Message-ID: <op.ti3swif4gqiacl@gnorps.palace.opera.no>

On Thu, 16 Nov 2006 03:56:56 +0100, velcrobandits  
<velcrobandits@gmail.com> wrote:

> when i write an html page on my home computer with an <object> that  
> links to
> an svg file, the file displays the proper image. however, when i upload  
> the
> html and svg file to my server, the html only displays the svg source  
> code.
> i've tried to play around with permissions, but that hasn't changed
> anything. is there anyway to fix this?

Make sure you have set your webserver to use the mimetype "image/svg+xml"  
for files with extensions *.svg and *.svgz. That's probably the reason.


Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
Received on Thursday, 16 November 2006 10:07:34 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 8 March 2017 09:47:09 UTC