'How to add vector images support for ImageChooserBlock in Wagtail CMS?

I want to be able to upload .svg files in ImageChooserBlock. By default, .svg format fails validation when uploading via Wagtail's admin panel. (Vector graphics is not supported in wagtail_images).

I'm using Wagtail 1.12.3.



Solution 1:[1]

Solved by installing and configuring wagtail_svgmap extension for Wagtail CMS.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1