To handle this we will need to recognise the .svg as an 'image' file but will need to handle slightly differently as we won't need to make thumbnails of it as we can just supply it with dimensions to achieve that.
So bits that will need to change include (but not limited to) - Code that handles the upload / saving of the file - Code that displays it in filebrowser / aretefactchooser - code that displays it via artefact/file/download.php so we display the file rather than prompt download ** Changed in: mahara Milestone: 17.10.0 => 18.04.0 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1681571 Title: Allow upload of SVG to use in portfolio pages Status in Mahara: Confirmed Bug description: All modern browsers support SVG and so should we in Mahara. Currently, you can't upload them to an image block because the format is not recognized. Bug #1681573 deals with the support for inline SVG for easy manipulation as a follow-on wishlist item. To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1681571/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp