Giter Site home page Giter Site logo

SVG support about image HOT 4 CLOSED

intervention avatar intervention commented on May 8, 2024 7
SVG support

from image.

Comments (4)

olivervogel avatar olivervogel commented on May 8, 2024 2

Sorry, Intervention Image is based on the GD library. GD doesn't support SVG at all.

from image.

grayxr avatar grayxr commented on May 8, 2024

Is this feasible for you anytime soon?

from image.

grayxr avatar grayxr commented on May 8, 2024

Thanks for the reply, but is there a way to at least enable a method for allowing unknown filetypes? I can use SVGs in my application and they show up fine in the browser, but since i'm using Davzie's Laravel/Bootstrap, which uses Intervention/Image, it throws an exception when I upload an SVG through my CMS, so if I goto use my CMS - since it's using Intervention/Image, it will throw the error - so i'd just like to turn that off somehow - or allow for unknown filetypes even if Intervention/Image doesn't interpret the file at all.

from image.

olivervogel avatar olivervogel commented on May 8, 2024

I don't know Davzie's Laravel/Bootstrap but since it seems to be based on Laravel 4, I would handle the exception with Laravel and tell the user what's wrong. Or just limit the upload to certain file types.

from image.

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.