From 14fec4fefbfa680f1dd6e9db9695097af1df8728 Mon Sep 17 00:00:00 2001 From: Arne Moerman Date: Sat, 25 Jul 2026 19:15:50 +0200 Subject: [PATCH] Increase hero image max size to 3840x2160 in admin UI Raised the maximum allowed hero image dimensions from 1920x1080 to 3840x2160 in the RegistryAdmin component, enabling support for higher-resolution uploads. --- src/BirthList.Web/Components/Pages/RegistryAdmin.razor.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BirthList.Web/Components/Pages/RegistryAdmin.razor.cs b/src/BirthList.Web/Components/Pages/RegistryAdmin.razor.cs index 9089269..de2e26c 100644 --- a/src/BirthList.Web/Components/Pages/RegistryAdmin.razor.cs +++ b/src/BirthList.Web/Components/Pages/RegistryAdmin.razor.cs @@ -821,8 +821,8 @@ public partial class RegistryAdmin : ComponentBase { const long maxOriginalFileSize = 10 * 1024 * 1024; // 10 MB const long maxProcessedFileSize = 3 * 1024 * 1024; // 3 MB - const int maxHeroImageWidth = 1920; - const int maxHeroImageHeight = 1080; + const int maxHeroImageWidth = 3840; + const int maxHeroImageHeight = 2160; var file = e.File;