Umbraco cannot upload SVG

Umbraco cannot upload SVG

in this post, I will show you how to enable SVG   to be allowed in Umbraco within the media picker.

  1. go to folder config 
  2. open umbracoSettings.config
  3. add the below code 
  4. make sure that on your media picker "pick only images" is unchecked
  5. done.

 this  also   works   for    GIF  

 

 

         


<imaging>
<!-- what file extension that should cause umbraco to create thumbnails -->
<imageFileTypes>jpeg,jpg,gif,bmp,png,tiff,tif,svg</imageFileTypes>
</imaging>