Issue Bug Closed

#78444TCA type "imageManipulation" does not use enableZoom

Philip Majewski 10/26/16, 11:48 updated 10/02/18, 11:06

Description

As described in https://docs.typo3.org/typo3cms/extensions/core/Changelog/7.2/Feature-65585-AddTCATypeImage_manipulation.html
there is a field called enableZoom. As a matter of fact the field value is never passed to the ImageManipulationWizard.

In typo3/sysext/backend/Classes/Form/Wizard/ImageManipulationWizard.php – $queryParams['bool'] is used but the correct param would be $queryParams['zoom'] as it is passed as

$wizardData = [
                'zoom' => $config['enableZoom'] ? '1' : '0',
                'ratios' => json_encode($config['ratios']),
                'file' => $file->getUid(),
            ];

In
@typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php@

Reviews 2