Allow upload of SVG to use in portfolio pages
Bug #1681571 reported by
Kristina Hoeppner
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Won't Fix
|
Wishlist
|
Unassigned |
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.
description: | updated |
Changed in mahara: | |
milestone: | 18.04.0 → 18.10.0 |
Changed in mahara: | |
milestone: | 18.10.0 → none |
To post a comment you must log in.
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 file/download. php so we display the file rather than prompt download
- Code that displays it in filebrowser / aretefactchooser
- code that displays it via artefact/