Welcome to the OzoneAsylum FaqWiki
Frequently Asked Questions
XML
XML subsets
SVG

Why doesn't my SVG page/code show on my page when I have the plugin (and can view SVG on other sites)? Pages that link to <a href="https://ozoneasylum.com/backlink?for=5426" title="Pages that link to Why doesn&amp;#039;t my SVG page/code show on my page when I have the plugin (and can view SVG on other sites)?" rel="nofollow" >Why doesn&#039;t my SVG page/code show on my page when I have the plugin (and can view SVG on other sites)?\

The simple answer is that the mime type isn't being recongised due to your server settings.

Apache - add this to your .htaccess file:

quote:
AddType image/svg-xml svg



this is the correct mime type for the current plugin from Adobe (it used to be image/svg so if you are still using this then update).

-----------------------------
Relevant links:

SVG MIME types up date

How do I set up my Web server to deliver pages containing SVG images? - from Adobe's SVG FAQ. they give a lsightly different mime type but the above code is what I have used on an Apache server and it works fine.

______________________
Emperor

(Added by: Emperor on Sun 17-Nov-2002)

(Edited by: Emperor on Sun 17-Nov-2002)

« BackwardsOnwards »

Show Forum Drop Down Menu