From 5cb9ce6273396f978cce396a9b2f07158ea30cad Mon Sep 17 00:00:00 2001 From: Helmut Hackbarth Date: Sun, 13 Mar 2022 12:25:09 +0100 Subject: [PATCH] BBUGFIX: https://github.com/t3solution/t3sbootstrap/issues/186 --- Classes/Utility/BackgroundImageUtility.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Classes/Utility/BackgroundImageUtility.php b/Classes/Utility/BackgroundImageUtility.php index 53729d7a..aab5e6fb 100644 --- a/Classes/Utility/BackgroundImageUtility.php +++ b/Classes/Utility/BackgroundImageUtility.php @@ -71,7 +71,9 @@ public function getBgImage( } else { // slider in jumbotron or two bg-images in two-columns - $uid = $frontendController->id; + if ($jumbotron === true){ + $uid = $frontendController->id; + } foreach($filesFromRepository as $fileKey=>$file) { $fileKey = $fileKey+1; $image[$fileKey] = $this->imageService->getImage((string)$file->getOriginalFile()->getUid(), $file->getOriginalFile(), true);