Skip to content
This repository has been archived by the owner on Aug 8, 2022. It is now read-only.

Open Graph Image no Image cropping tool visible #523

Open
glucka opened this issue May 9, 2018 · 3 comments
Open

Open Graph Image no Image cropping tool visible #523

glucka opened this issue May 9, 2018 · 3 comments

Comments

@glucka
Copy link
Contributor

glucka commented May 9, 2018

I make a PR for this

@thomaszbz
Copy link
Member

Thank you! I'll have a look at this.

@thomaszbz
Copy link
Member

Auswahl_839

@thomaszbz
Copy link
Member

`

'tx_metaseo_opengraph_image' => array(
    'exclude' => 1,
    'label'   => 'LLL:EXT:metaseo/Resources/Private/Language/TCA/locallang.xlf:pages.tx_metaseo_opengraph_image',
    'config'  => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::getFileFieldTCAConfig('tx_metaseo_opengraph_image', array(
            'maxitems' => 1,
            'foreign_match_fields' => [
                'fieldname' => 'tx_metaseo_opengraph_image',
                'tablenames' => 'pages',
                'table_local' => 'sys_file',
            ],
            'overrideChildTca' => [
                'types' => [
                    \TYPO3\CMS\Core\Resource\File::FILETYPE_IMAGE => [
                        'showitem' => '
                        --palette--;LLL:EXT:lang/Resources/Private/Language/locallang_tca.xlf:sys_file_reference.imageoverlayPalette;imageoverlayPalette,
                        --palette--;;filePalette'
                    ],
                ],
            ],
        )
    )
),

`

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants