I wish to upload SVG-icons to my blocks / pages in Episerver. However, I get the error "parameter not valid" no matter what type of svg I attempt to upload. PNGs work fine.
[MediaDescriptor(ExtensionString = "svg")]
public class SvgIcon : MediaData
{
public override Blob Thumbnail
{
get { return BinaryData; }
}
}
}
Here is the class based on this article that ive tried to use: https://mariajemaria.net/another-failed-svg-upload
Any suggestion as to how to potentially ignore these "parameters"?