From 8a87318b124871328520945a9f574de673b7257c Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Thu, 19 Feb 2026 18:05:29 +0100 Subject: [PATCH] fix(imgproxy): fallback to smart gravity (sm) instead of face detection (fv) - 'fv' requires ML modules not present in standard imgproxy image - 'sm' is robust and supported everywhere - Fixes broken images on staging using Next.js Image loader --- lib/imgproxy-loader.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/imgproxy-loader.ts b/lib/imgproxy-loader.ts index 61f6e6ab..cddefc52 100644 --- a/lib/imgproxy-loader.ts +++ b/lib/imgproxy-loader.ts @@ -28,6 +28,6 @@ export default function imgproxyLoader({ return getImgproxyUrl(src, { width, resizing_type: 'fit', - gravity: 'fv', // Use face-aware focusing (face detection) + gravity: 'sm', // Use smart gravity (content-aware) instead of face detection (requires ML) }); }