diff --git a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php index 6b80dd8704d74b408a87cef52f807d654c21edbd..0f3eb4f28e9b2b9a924baf8b4ac59a6d5def5b76 100644 --- a/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php +++ b/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php @@ -3846,6 +3846,7 @@ class ContentObjectRenderer implements LoggerAwareInterface if ($jsonCropArea->isEmpty() && preg_match('/^[0-9]+,[0-9]+,[0-9]+,[0-9]+$/', $cropSettings)) { $cropSettings = explode(',', $cropSettings); if (count($cropSettings) === 4) { + $cropSettings = array_map(floatval(...), $cropSettings); $stringCropArea = GeneralUtility::makeInstance( Area::class, ...$cropSettings