Support image clips/gifs (#3583)

Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>
This commit is contained in:
yoshnopa
2023-05-17 01:30:51 +02:00
committed by GitHub
parent 0e199a525f
commit a2e477e1a7
62 changed files with 999 additions and 363 deletions

View File

@@ -45,11 +45,9 @@ var (
func createFullImage(id int) models.Image {
return models.Image{
ID: id,
Files: models.NewRelatedImageFiles([]*file.ImageFile{
{
BaseFile: &file.BaseFile{
Path: path,
},
Files: models.NewRelatedFiles([]file.File{
&file.BaseFile{
Path: path,
},
}),
Title: title,