specify tiff mime types
This commit is contained in:
parent
0a379fc27c
commit
f57dfc6a61
|
@ -122,16 +122,6 @@ namespace MediaBrowser.Model.Dto
|
|||
/// <value>The primary image aspect ratio.</value>
|
||||
public double? PrimaryImageAspectRatio { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether this instance has primary image.
|
||||
/// </summary>
|
||||
/// <value><c>true</c> if this instance has primary image; otherwise, <c>false</c>.</value>
|
||||
[IgnoreDataMember]
|
||||
public bool HasPrimaryImage
|
||||
{
|
||||
get { return PrimaryImageTag != null; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Initializes a new instance of the <see cref="UserDto"/> class.
|
||||
/// </summary>
|
||||
|
|
|
@ -72,6 +72,7 @@ namespace MediaBrowser.Model.Net
|
|||
dict.Add(".tbn", "image/jpeg");
|
||||
dict.Add(".png", "image/png");
|
||||
dict.Add(".gif", "image/gif");
|
||||
dict.Add(".tiff", "image/tiff");
|
||||
dict.Add(".webp", "image/webp");
|
||||
dict.Add(".ico", "image/vnd.microsoft.icon");
|
||||
dict.Add(".mpg", "video/mpeg");
|
||||
|
|
Loading…
Reference in New Issue
Block a user