mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
f0cfc28c00
Smartcrop can return a crop rectangle that is smaller than the requested dimensions after prescaling and rounding. Expand that rectangle within the source image bounds before applying Hugo's crop/fill pipeline, so smart crops keep the requested size without stretching the image. Bump the smart crop cache version for crop/fill only. Fixes #13688 Co-Authored-By: Joe Mooring <joe.mooring@veriphor.com>