From 1ff1a543e1dfdd2fb94ef5fbac2c50e49d84baf0 Mon Sep 17 00:00:00 2001 From: bordet991 Date: Tue, 24 Mar 2026 23:54:47 +0100 Subject: [PATCH] Added check for webp images when getting the src img for SceneWall. --- ui/v2.5/src/components/Scenes/SceneWallPanel.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/v2.5/src/components/Scenes/SceneWallPanel.tsx b/ui/v2.5/src/components/Scenes/SceneWallPanel.tsx index d49d9b73e..9ba63aba9 100644 --- a/ui/v2.5/src/components/Scenes/SceneWallPanel.tsx +++ b/ui/v2.5/src/components/Scenes/SceneWallPanel.tsx @@ -240,7 +240,9 @@ const SceneWall: React.FC = ({ return { scene: s, src: - s.paths.preview && !erroredImgs.includes(s.paths.preview) + s.paths.webp && !erroredImgs.includes(s.paths.webp) + ? s.paths.webp + : s.paths.preview && !erroredImgs.includes(s.paths.preview) ? s.paths.preview! : s.paths.screenshot!, link: sceneQueue