diff --git a/app/handlers/images.go b/app/handlers/images.go index 3fe232065..813165783 100644 --- a/app/handlers/images.go +++ b/app/handlers/images.go @@ -198,7 +198,8 @@ func Favicon() web.HandlerFunc { opts := []imagic.ImageOperation{} if size > 0 { - opts = append(opts, imagic.FitToWidth(size)) + opts = append(opts, imagic.Resize(size)) + opts = append(opts, imagic.Fit()) } if c.QueryParam("bg") != "" {