diff --git a/typo3/sysext/core/Classes/Resource/Processing/LocalImageProcessor.php b/typo3/sysext/core/Classes/Resource/Processing/LocalImageProcessor.php index abe2cb6abd45add0ab21d192a88580732ad65d5c..728d3df950f8adff9e15ee064c95ca2046802cdb 100644 --- a/typo3/sysext/core/Classes/Resource/Processing/LocalImageProcessor.php +++ b/typo3/sysext/core/Classes/Resource/Processing/LocalImageProcessor.php @@ -114,8 +114,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(), ];