mirror of
https://github.com/photoprism/photoprism.git
synced 2025-12-12 00:34:13 +01:00
Config: Improve thumbnail generation option parsing and defaults #1474
Signed-off-by: Michael Mayer <michael@photoprism.app>
This commit is contained in:
@@ -183,10 +183,10 @@ func NewTestConfig(pkg string) *Config {
|
||||
c.RegisterDb()
|
||||
c.InitTestDb()
|
||||
|
||||
thumb.SizePrecached = c.ThumbSizePrecached()
|
||||
thumb.SizeUncached = c.ThumbSizeUncached()
|
||||
thumb.SizeCached = c.ThumbSizePrecached()
|
||||
thumb.SizeOnDemand = c.ThumbSizeUncached()
|
||||
thumb.Filter = c.ThumbFilter()
|
||||
thumb.JpegQuality = c.JpegQuality()
|
||||
thumb.JpegQualityDefault = c.JpegQuality()
|
||||
|
||||
return c
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user