diff --git a/thumbnailing/u/dimensions.go b/thumbnailing/u/dimensions.go index 0b0ac6ff59d7cbe27a4a8fd6e53c6708394b2159..ca9437367217162657dfe45588779219df5523bd 100644 --- a/thumbnailing/u/dimensions.go +++ b/thumbnailing/u/dimensions.go @@ -14,7 +14,7 @@ func AdjustProperties(srcWidth int, srcHeight int, desiredWidth int, desiredHeig } else if canAnimate { return true, srcWidth, srcHeight, false, method } else { - return false, 0, 0, false, method + return false, desiredWidth, desiredHeight, false, method } } return true, desiredWidth, desiredHeight, wantAnimated, method