@Ezra-Sharp gh#1299UntitledRobot created this issue in NodeBB/NodeBB closed Subcategories could be great #1299
SVG support for category pictures (and more?)
Major browsers have supported
SVGfor 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 :)).
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...