diff --git a/typo3/sysext/core/Classes/Resource/OnlineMedia/Processing/PreviewProcessing.php b/typo3/sysext/core/Classes/Resource/OnlineMedia/Processing/PreviewProcessing.php
index 1b72f5a409f28b91c34ca024a43161b9377ee234..8096e7080ee81c113b6d2f82b766f095f2318a3d 100644
--- a/typo3/sysext/core/Classes/Resource/OnlineMedia/Processing/PreviewProcessing.php
+++ b/typo3/sysext/core/Classes/Resource/OnlineMedia/Processing/PreviewProcessing.php
@@ -129,7 +129,7 @@ class PreviewProcessing
     protected function resizeImage($originalFileName, $temporaryFileName, $configuration)
     {
         // Create the temporary file
-        if (empty($GLOBALS['TYPO3_CONF_VARS']['GFX']['im'])) {
+        if (empty($GLOBALS['TYPO3_CONF_VARS']['GFX']['processor_enabled'])) {
             return;
         }