photoprism/internal/config/thumbnails.go
Michael Mayer 4a9f992056 Thumbs: Use fit_4096 in favor of fit_3840 and add convert limit #362 #388
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-13 15:23:54 +02:00

12 lines
328 B
Go

package config
// Thumbnail gives direct access to width and height for a thumbnail setting
type Thumbnail struct {
Size string `json:"size"`
Use string `json:"use"`
Width int `json:"w"`
Height int `json:"h"`
}
// Thumbnails is a list of default thumbnail size available for the app
var Thumbnails []Thumbnail