[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=e6bf955210647b2bda2b6a903e5b1f133389dafb
http://github.com/moodle/moodle/commit/e6bf955210647b2bda2b6a903e5b1f133389dafb

+ 3.8 en [group:optimised_image,core_mimetypes]