Project

General

Profile

Actions

Bug #78444

closed

TCA type "imageManipulation" does not use enableZoom

Added by Philip Majewski about 8 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Start date:
2016-10-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

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

Actions

Also available in: Atom PDF