Skip to content

Commit

Permalink
[Backport 11.5] [TASK] Overhaul imagemanipulation type (#1005)
Browse files Browse the repository at this point in the history
[TASK] Overhaul imagemanipulation type

* Correct indentation,
* add names for confvals

releases: main, 12.4, 11.5

Co-authored-by: lina.wolf <[email protected]>
  • Loading branch information
github-actions[bot] and linawolf authored Mar 27, 2024
1 parent 76f2eba commit 50b229b
Show file tree
Hide file tree
Showing 6 changed files with 227 additions and 227 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
.. include:: /Includes.rst.txt
.. _columns-imageManipulation-examples:
.. include:: /Includes.rst.txt
.. _columns-imageManipulation-examples:

========
Examples
========

.. include:: /Images/Rst/ImageManipulationButton.rst.txt
.. include:: /Images/Rst/ImageManipulationButton.rst.txt

.. code-block:: php
.. code-block:: php
'crop' => [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_reference.crop',
Expand Down
14 changes: 7 additions & 7 deletions Documentation/ColumnsConfig/Type/ImageManipulation/Index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. include:: /Includes.rst.txt
.. _columns-imageManipulation:
.. _columns-imageManipulation-introduction:
.. include:: /Includes.rst.txt
.. _columns-imageManipulation:
.. _columns-imageManipulation-introduction:

==================
Image manipulation
Expand All @@ -9,8 +9,8 @@ Image manipulation
The type "imageManipulation" generates a button showing an image cropper in the backend for image files.
It is typically only used in FAL relations. The crop information is stored as an JSON array into the field.

.. toctree::
:titlesonly:
.. toctree::
:titlesonly:

Examples
Properties/Index
Examples
Properties/Index
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
.. include:: /Includes.rst.txt
.. _columns-imageManipulation-properties-allowedExtensions:
.. include:: /Includes.rst.txt
.. _columns-imageManipulation-properties-allowedExtensions:

=================
allowedExtensions
=================

.. confval:: allowedExtensions
.. confval:: allowedExtensions
:name: imageManipulation-allowedExtensions
:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']
:type: string (list of file extensions)
:Scope: Proc. / Display

:Path: $GLOBALS['TCA'][$table]['columns'][$field]['config']
:type: string (list of file extensions)
:Scope: Proc. / Display

List of image types (by file extension) which can be cropped. Defaults to
`$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']` which is usually `gif,jpg,jpeg,png`.
List of image types (by file extension) which can be cropped. Defaults to
`$GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext']` which is usually `gif,jpg,jpeg,png`.
Loading

0 comments on commit 50b229b

Please sign in to comment.