Skip to content

Commit

Permalink
Merge pull request #187 from Patta/patch-7
Browse files Browse the repository at this point in the history
[TASK] Enable crop for news image
  • Loading branch information
rupertgermann authored Jun 24, 2024
2 parents 05bc610 + 25eb79c commit aac9321
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions Configuration/TCA/Overrides/sys_file_reference.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<?php
defined('TYPO3_MODE') || die();


$GLOBALS['TCA']['sys_file_reference']['palettes']['newsImagePalette'] = [
'label' => 'LLL:EXT:core/Resources/Private/Language/locallang_tca.xlf:sys_file_reference.imageoverlayPalette',
'showitem' => '
title,alternative,--linebreak--,
description
',
title,alternative,--linebreak--,
description,--linebreak--,crop
',
];

0 comments on commit aac9321

Please sign in to comment.