[BUGFIX] Remove 1000 pixelx limitation for preview image
[Packages/TYPO3.CMS.git] / typo3 / sysext / core / Classes / Resource / Processing / LocalPreviewHelper.php
index 97ef09a..8efa5b2 100644 (file)
@@ -62,8 +62,8 @@ class LocalPreviewHelper {
 
                        // Merge custom configuration with default configuration
                $configuration = array_merge(array('width' => 64, 'height' => 64), $task->getConfiguration());
-               $configuration['width'] = Utility\MathUtility::forceIntegerInRange($configuration['width'], 1, 1000);
-               $configuration['height'] = Utility\MathUtility::forceIntegerInRange($configuration['height'], 1, 1000);
+               $configuration['width'] = Utility\MathUtility::forceIntegerInRange($configuration['width'], 1);
+               $configuration['height'] = Utility\MathUtility::forceIntegerInRange($configuration['height'], 1);
 
                $originalFileName = $sourceFile->getForLocalProcessing(FALSE);