-
Bug
-
Resolution: Fixed
-
Minor
-
3.10.6, 3.10.7, 3.11.3, 3.11.4
-
MOODLE_310_STABLE, MOODLE_311_STABLE
-
MOODLE_311_STABLE
-
-
HQ Team International CI H2-21, HQ Team International CIH2-212
As discovered in MDL-55243:
... SVG files do not seem to support the "preview" parameter of pluginfile.php.
While pluginfile.php/42/local_foo/bar/1234/something.svg is served OK, pluginfile.php/42/local_foo/bar/1234/something.svg?preview=thumb is not and a general icon representing the mime type is displayed. This can lead to unexpected behaviour such as the one discussed at https://moodle.org/mod/forum/discuss.php?d=425244 If we made SVG to act as normal images, we need to make sure they can be served in various preview sizes like bitmap images.
- has a non-specific relationship to
-
MDL-72316 SVG files being downloaded instead of served in SCORM activities
- Closed
- has been marked as being related by
-
MDL-47326 Moodle tries to generate thumbnails for files it can't handle, then returns harcoded thumbnail icon
- Closed
- is a regression caused by
-
MDL-55243 SVG files are images and should be allowed for course images, drag-drop questions, etc.
- Closed
- Testing discovered
-
MDL-72884 Inserting an SVG file using the "Insert image" doesn't work well with "Auto-size"
- Closed