[TASK] Add common image ratio 3:2 to cropVariants 71/51571/3
authorJosef Glatz <josefglatz@gmail.com>
Wed, 8 Feb 2017 08:19:00 +0000 (09:19 +0100)
committerAndreas Fernandez <typo3@scripting-base.de>
Thu, 9 Feb 2017 07:40:32 +0000 (08:40 +0100)
In addition to 16:9, 4:3, 1:1 and free another common
image ratio "3:2" (DSLR default format) is introduced.

Resolves: #79677
Releases: master
Change-Id: Iac4aff754fe07216a6b956a47ac535eadacab553
Reviewed-on: https://review.typo3.org/51571
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Alexander Grein <alexander.grein@gmail.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Harry Glatz <glatz@analog.de>
Tested-by: Harry Glatz <glatz@analog.de>
Reviewed-by: Andreas Fernandez <typo3@scripting-base.de>
Tested-by: Andreas Fernandez <typo3@scripting-base.de>
typo3/sysext/backend/Classes/Form/Element/ImageManipulationElement.php
typo3/sysext/lang/Resources/Private/Language/locallang_wizards.xlf

index 7be8917..903affa 100644 (file)
@@ -50,6 +50,10 @@ class ImageManipulationElement extends AbstractFormElement
                         'title' => 'LLL:EXT:lang/Resources/Private/Language/locallang_wizards.xlf:imwizard.ratio.16_9',
                         'value' => 16 / 9
                     ],
+                    '3:2' => [
+                        'title' => 'LLL:EXT:lang/Resources/Private/Language/locallang_wizards.xlf:imwizard.ratio.3_2',
+                        'value' => 3 / 2
+                    ],
                     '4:3' => [
                         'title' => 'LLL:EXT:lang/Resources/Private/Language/locallang_wizards.xlf:imwizard.ratio.4_3',
                         'value' => 4 / 3
index b153e0c..6858a82 100644 (file)
                        <trans-unit id="imwizard.ratio.16_9">
                                <source>16:9</source>
                        </trans-unit>
+                       <trans-unit id="imwizard.ratio.3_2">
+                               <source>3:2</source>
+                       </trans-unit>
                        <trans-unit id="imwizard.ratio.4_3">
                                <source>4:3</source>
                        </trans-unit>