[BUGFIX] Add possibility to define crop variants per table 51/51951/11
authorHelmut Hummel <typo3@helhum.io>
Thu, 2 Mar 2017 13:14:31 +0000 (14:14 +0100)
committerHelmut Hummel <typo3@helhum.io>
Tue, 7 Mar 2017 15:48:25 +0000 (16:48 +0100)
commit3094854db1286bd061051599cc391342d8f99f0b
treee766ba486fe6279772e04ef42981a44a6f292d8a
parente1fe4cb0f48a13bc2c91e11f930c7afb7cf39e67
[BUGFIX] Add possibility to define crop variants per table

Currently it is not possible to define crop variants per
table or content type. This makes this feature a lot less useful
as it could be.

Add a form data provider to make this possible.

Also fix the issue that the full size image is used instead of
a smaller variant in the interface and hide the cropping
tool if no image size can be determined (happens for some SVGs).

Focus area now also works when no cover areas are defined.

Resolves: #80105
Resolves: #80157
Resolves: #79961
Releases: master
Change-Id: I3333a59c84b6f55f7bf300663ea2ff52bf70e698
Reviewed-on: https://review.typo3.org/51951
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Joerg Boesche <typo3@joergboesche.de>
Tested-by: Joerg Boesche <typo3@joergboesche.de>
Reviewed-by: Helmut Hummel <typo3@helhum.io>
Tested-by: Helmut Hummel <typo3@helhum.io>
typo3/sysext/backend/Classes/Form/FormDataProvider/TcaOverrideChildCroppingConfiguration.php [new file with mode: 0644]
typo3/sysext/backend/Resources/Private/Templates/ImageManipulation/ImageManipulationElement.html
typo3/sysext/backend/Resources/Private/Templates/ImageManipulation/ImageManipulationWizard.html
typo3/sysext/backend/Resources/Private/TypeScript/ImageManipulation.ts
typo3/sysext/backend/Resources/Public/JavaScript/ImageManipulation.js
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Documentation/Changelog/8.6/Feature-75880-ImplementMultipleCroppingVariantsInImageManipulationTool.rst
typo3/sysext/lang/Resources/Private/Language/locallang_wizards.xlf