If this is good, may be a way to allow WebP images as well.
Sounds good; I'll note that I've just discovered (i.e. actually searched the documentation) that PHP does have support for webp images, so that's another possibility that's been requested before.
Bookmarks