diff --git a/typo3/sysext/core/Classes/Resource/Processing/LocalImageProcessor.php b/typo3/sysext/core/Classes/Resource/Processing/LocalImageProcessor.php index 9e0263d556bfde19066b2bb09f8e5c93d50d8fb1..c7bdbac3b3dc29057df6e54e298a16eaa12e51b9 100644 --- a/typo3/sysext/core/Classes/Resource/Processing/LocalImageProcessor.php +++ b/typo3/sysext/core/Classes/Resource/Processing/LocalImageProcessor.php @@ -121,8 +121,8 @@ class LocalImageProcessor implements ProcessorInterface, LoggerAwareInterface $task->setExecuted(true); $imageDimensions = $this->getGraphicalFunctionsObject()->getImageDimensions($localProcessedFile); $properties = [ - 'width' => $imageDimensions[0], - 'height' => $imageDimensions[1], + 'width' => $imageDimensions[0] ?? 0, + 'height' => $imageDimensions[1] ?? 0, 'size' => filesize($localProcessedFile), 'checksum' => $task->getConfigurationChecksum(), ];