diff --git a/dca/tl_content.php b/dca/tl_content.php index c113c26..c3171db 100644 --- a/dca/tl_content.php +++ b/dca/tl_content.php @@ -384,7 +384,7 @@ 'label' => &$GLOBALS['TL_LANG']['tl_module']['imgSize'], 'exclude' => true, 'inputType' => 'imageSize', - 'options' => System::getImageSizes(), + 'options' => version_compare(VERSION, '3.4', '<') ? $GLOBALS['TL_CROP'] : System::getImageSizes(), 'reference' => &$GLOBALS['TL_LANG']['MSC'], 'eval' => array( 'rgxp' => 'natural', diff --git a/dca/tl_module.php b/dca/tl_module.php index b617a02..35e7142 100644 --- a/dca/tl_module.php +++ b/dca/tl_module.php @@ -381,7 +381,7 @@ 'label' => &$GLOBALS['TL_LANG']['tl_module']['imgSize'], 'exclude' => true, 'inputType' => 'imageSize', - 'options' => System::getImageSizes(), + 'options' => version_compare(VERSION, '3.4', '<') ? $GLOBALS['TL_CROP'] : System::getImageSizes(), 'reference' => &$GLOBALS['TL_LANG']['MSC'], 'eval' => array( 'rgxp' => 'natural',