Show SVG files on Sharepoint 2007

Posted by Nicolas Irisarri on Stack Overflow See other posts from Stack Overflow or by Nicolas Irisarri
Published on 2009-06-04T00:37:41Z Indexed on 2011/01/05 11:54 UTC
Read the original article Hit count: 220

Filed under:
|
|

I'm building a WSS site which has to show SVG files stored on WSS. I'm trying to use <object> tag to show it and it doesn't show, however, if I use <embed> it works ok. Im'using IE8 and IE7

I've been reading and everyone tells IE prefers <Object> over <embed>, but in WSS it doesn't work this way.

To display the file I'm using a web content editor webpart with this code:

<object type="image/svg+xml" data="/samples/sample.svg"
        name="owMain" width="400" height="150">
</object>

Any clue??

© Stack Overflow or respective owner

Related posts about html

Related posts about sharepoint