Git Product home page Git Product logo

Comments (5)

Rush avatar Rush commented on June 25, 2024

It might have to do with your http server's mimetype. Mimetype has to be image/svg+xml. I think it does not have anything to do with file's content.

from font-awesome-svg-png.

jakehilton avatar jakehilton commented on June 25, 2024

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.

from font-awesome-svg-png.

Rush avatar Rush commented on June 25, 2024

I found the issue, will make an update in a few minutes.

from font-awesome-svg-png.

jakehilton avatar jakehilton commented on June 25, 2024

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!

from font-awesome-svg-png.

jakehilton avatar jakehilton commented on June 25, 2024

Working well now. Thank you for the quick fix.

from font-awesome-svg-png.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.