SVG support for category pictures (and more?)

Feature Requests
  • #1

    Major browsers have supported SVG for years (not sure about mobile browsers). Could NodeBB support this? I think this would be beneficial since the auto-scale without quality loss (from phone to mega-big screen). At this moment, NodeBB (at least the category picture upload) does not allow SVG.

    Note: there might be some security issues for common users, but for admins this might be acceptable (or let the owner of the site decide :)).

  • Plugin & Theme Dev
    #2

    Hello @igbuend, welcome on board 🙂

    +1 for SVG support.

    For now if you want to get SVGs working, add 'image/svg+xml' into the array within src/controllers/admin/uploads.js:48 😉

    EDIT: created pull-request...


Suggested Topics


  • 0 Votes
    1 Posts
    193 Views

  • 0 Votes
    1 Posts
    846 Views

  • 0 Votes
    4 Posts
    1678 Views

  • Display more categories

    Feature Requests
    1 Votes
    8 Posts
    2714 Views

  • Sub-Categories

    Feature Requests
    1 Votes
    6 Posts
    2464 Views

| | | |