-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SVG Files don't render in browser #5
Comments
It might have to do with your http server's mimetype. Mimetype has to be |
This is a local load.. no server involved. It works with the Tux.svg but not any of the font awesome svg files. I did notice svg files grabbed from here work: http://commons.wikimedia.org/wiki/Category:Font-Awesome_icons Not sure where the breakdown is but there seems to be something not quite right with the way svg files are generated in this project. |
I found the issue, will make an update in a few minutes. |
Great to hear. I was going to say that adding the following to the svg tag got it to display. xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" Not sure if that's the same conclusion you came to but thought I'd mention it. Thanks! |
Working well now. Thank you for the quick fix. |
Testing the svg files results in a browser not rendering the image but only the xml data. Tested this in chrome and in firefox. It seems the svg format the files are written in is incomplete. Any help on getting this resolved would be much appreciated.
Here is an svg file that is working correctly:
http://upload.wikimedia.org/wikipedia/commons/3/35/Tux.svg
Thank you.
Jake
The text was updated successfully, but these errors were encountered: