Go
New
Find
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Junior Mechanic
Posted
I tried to insert SVG file but without success.
I have a svg viewer and I created a svg file.
when I insert a foreign object and choose my svg file it is ok, it is published in the ",edia" directory but once loaded on my site I cannot see it.
My pages are .svg pages, not html so I think it is ok.
any idea?
 
Posts: 2 | Registered: September 24, 2004Reply With QuoteEdit or Delete MessageReport This Post
VM Staff
Picture of Harpo
Posted Hide Post
I am not too clear on what you are inserting into what. If you are embedding an SVG file into an HTML page as a foreign object , it should work but you must publish the HTML page as HTML of course. If you are embedding the SVG file in an SVG page you can't use the foreign object because the SVG mode does not support foreign objects. You could embed the code from an external SVG page into an SVG page as a Code Object. If you do that redeemer to only use the code between (and including ) the <svg> </svg> tags
 
Posts: 3215 | Registered: January 08, 2003Reply With QuoteEdit or Delete MessageReport This Post
D_L
Honorary Mechanic
Picture of D_L
Posted Hide Post
quote:
once loaded on my site I cannot see it

if by that you mean you cannot see SVG content on your host server (ISP) then it may be that your ISP has to enable mime type for SVG.

Is it an Apache server? If yes then ..

AddType image/svg-xml svg
 
Posts: 415 | Location: U.K. | Registered: July 06, 2003Reply With QuoteEdit or Delete MessageReport This Post
Junior Mechanic
Posted Hide Post
Hi,

Thanks that was simply because I mixed SVG and HTML. Now editing in HTML I can see all my SVG stuff that's ok

Thanks
 
Posts: 2 | Registered: September 24, 2004Reply With QuoteEdit or Delete MessageReport This Post
  Powered by Eve Community  
 


™ & © 1998 - 2008, Virtual Mechanics Inc. All rights reserved.