Media Files Selector does not preview svg files

Niveditha Ravuri asked on October 9, 2020 19:41

I have added an editing component(Media Files Selector)with allowed extension property to allow .gif;.png;.jpg;.jpeg;.svg. It doesn't preview the svg files. If I hover over them I see the file name but that's all. How can enable this preview/to display thumbnail for svg files as well? I am using this property in a Widget.

Recent Answers


Dmitry Bastron answered on October 12, 2020 10:32

Hi Niveditha,

The default Media Files Selector can't preview .svg files as well as Media Libraries interface, unfortunately. The only way to preview svg files is to write your own inline editor for Media Files, but this will require quite some time. As a starting point, you can use my implementation for Kentico 12 MVC (pre service pack).

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.