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:
commit
cf953c1e06
30 changed files with 1292 additions and 82 deletions
|
@ -7,5 +7,6 @@
|
|||
public string OriginalName { get; set; }
|
||||
public string SortName { get; set; }
|
||||
public string Summary { get; set; }
|
||||
public byte[] CoverImage { get; set; }
|
||||
}
|
||||
}
|
|
@ -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; }
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue