Skip to content

Commit

Permalink
BUGFIX: #389
Browse files Browse the repository at this point in the history
  • Loading branch information
t3solution authored Apr 3, 2024
1 parent 423a98f commit 83900b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Classes/Wrapper/BackgroundWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ public function getProcessedData(array $processedData, array $flexconf, string $
// orig. image option in flexform
if (!empty($flexconf['origImage'])) {
$processedData['file'] = $file;
$processedData['ingWidth'] = $flexconf['width'] ? $flexconf['width'] : 1296;
$processedData['ingWidth'] = !empty($flexconf['width']) ? $flexconf['width'] : 1296;
} else {
$bgImage = GeneralUtility::makeInstance(BackgroundImageUtility::class)
->getBgImage($processedData['data']['uid'], 'tt_content', false, true, $flexconf, false, 0, $bgMediaQueries);
Expand Down

0 comments on commit 83900b2

Please sign in to comment.