diff --git a/core-bundle/src/Resources/contao/dca/tl_image_size.php b/core-bundle/src/Resources/contao/dca/tl_image_size.php index c39811f02d7..656d48dab43 100644 --- a/core-bundle/src/Resources/contao/dca/tl_image_size.php +++ b/core-bundle/src/Resources/contao/dca/tl_image_size.php @@ -380,12 +380,6 @@ public function getFormats() { if (!\in_array('webp', StringUtil::trimsplit(',', \Config::get('validImageTypes')))) { - $GLOBALS['TL_DCA']['tl_image_size']['fields']['formats']['label'] = array - ( - $GLOBALS['TL_LANG']['tl_image_size']['formats'][0], - $GLOBALS['TL_LANG']['tl_image_size']['formatsMissingWebp'], - ); - return array(); } diff --git a/core-bundle/src/Resources/contao/languages/en/tl_image_size.xlf b/core-bundle/src/Resources/contao/languages/en/tl_image_size.xlf index dc69a47bb3d..d7c6b27e536 100644 --- a/core-bundle/src/Resources/contao/languages/en/tl_image_size.xlf +++ b/core-bundle/src/Resources/contao/languages/en/tl_image_size.xlf @@ -56,9 +56,6 @@ Here you can select which image formats shall be converted. - - You can enable WEBP images by adding "webp" to <em>contao.image.valid_extensions</em>. - WEBP is not supported on your server.