Merge pull request #20 from Kareadita/feature/cover-images

Implements ability to set cover images from archive files and to force updating DB entries. Cover images will be compressed and a thumbnail will be saved rather than raw image due to size of raw files (1MB vs 60 KB)
This commit is contained in:
Joseph Milazzo 2021-01-08 10:10:02 -06:00 committed by GitHub
commit cf953c1e06
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
30 changed files with 1292 additions and 82 deletions

View file

@ -7,5 +7,6 @@
public string OriginalName { get; set; }
public string SortName { get; set; }
public string Summary { get; set; }
public byte[] CoverImage { get; set; }
}
}

View file

@ -7,7 +7,6 @@ namespace API.DTOs
public int Id { get; set; }
public int Number { get; set; }
public string Name { get; set; }
public string CoverImage { get; set; }
public ICollection<string> Files { get; set; }
public byte[] CoverImage { get; set; }
}
}