Allow webp for local images

pull/9454/head
Bond_009 2 years ago
parent 95287fa9f1
commit 761b9ed6a1

@ -47,7 +47,7 @@ namespace MediaBrowser.Controller.Entities
/// The supported image extensions. /// The supported image extensions.
/// </summary> /// </summary>
public static readonly string[] SupportedImageExtensions public static readonly string[] SupportedImageExtensions
= new[] { ".png", ".jpg", ".jpeg", ".tbn", ".gif" }; = new[] { ".png", ".jpg", ".jpeg", ".webp", ".tbn", ".gif" };
private static readonly List<string> _supportedExtensions = new List<string>(SupportedImageExtensions) private static readonly List<string> _supportedExtensions = new List<string>(SupportedImageExtensions)
{ {

Loading…
Cancel
Save