[AMOS commit] MDL-61215 core_files: add new optimised_image group Committed into Git: 2020-08-11 10:59 UTC

[AMOS commit] MDL-61215 core_files: add new optimised_image group Committed into Git: 2020-08-11 10:59 UTC

by AMOS bot -
Number of replies: 0
Author: Sara Arjona
MDL-61215 core_files: add new optimised_image group
Currently, PHP getimagesize method doesn't support SVG images.
As some features, such as badges, processs and optimise the images
before using them, a new filetype group has been created to exclude
SVG from there: optimised_image.
SVG can't be removed from web_image because then users won't be
able to add SVG images to their courses using labels, pages...


http://git.moodle.org/gw?p=moodle.git;a=commit;h=0f13aee6fb0498cc56d73a191c7d88ef8fd1394c
http://github.com/moodle/moodle/commit/0f13aee6fb0498cc56d73a191c7d88ef8fd1394c

+ 3.9 en [group:optimised_image,core_mimetypes]