PHP code example of liquidlight / typo3-media-gallery
1. Go to this page and download the library: Download liquidlight/typo3-media-gallery library. Choose the download type require.
2. Extract the ZIP file and open the index.php.
3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
liquidlight / typo3-media-gallery example snippets
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['media_gallery']['engines']['engine_key'] = [
'title' => 'Nice title - shown in the drop down',
'template' => 'Engine', // The name of the partial used (can be omitted to use the "Basic" one)
'styleSheet' => '', // CSS to load
'javaScript' => '', // Load JS
'inlineStyleSheet' => '', // Any inline CSS
'inlineJavaScript' => '', // Any inline JS
];