Virtual Mechanics: Community Forums and FAQs
Virtual Mechanics: Community Forums and FAQs
Animation / Mobile
issue with SVG|
Go
![]() |
New
![]() |
Find
![]() |
Notify
![]() |
Tools
![]() |
Reply
![]() |
|
|
Junior Mechanic |
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? |
||
|
VM Staff![]() |
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
|
|||
|
|
Honorary Mechanic |
quote: 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 |
|||
|
|
Junior Mechanic |
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 |
|||
|
| Powered by Eve Community |
| Please Wait. Your request is being processed... |
|

