[TYPO3-english] hook in thumbnail generation? [WAS: questions about FAL]

Philipp Gampe philipp.gampe at typo3.org
Thu Apr 17 16:00:26 CEST 2014


Hi bernd,

bernd wilke wrote:

> the thumbnails are called with /typo3/thumbs.php.
> I have not found any hook or XClass in it.
> Do I have to change the core to replace this file?

This class just calls the ThumbnailView.

You can override with 6.x style xclasses:
$GLOBALS['TYPO3_CONF_VARS']['SYS']['Objects']
['TYPO3\\CMS\\Backend\\View\\ThumbnailView'] = array(
'className' => 'Doc\\Examples\\Xclass\\ThumbNailView'
);
http://docs.typo3.org/typo3cms/CoreApiReference/ApiOverview/Xclasses/Index.html#xclasses-declaration

Best regards
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – Active contributor TYPO3 CMS
TYPO3 .... inspiring people to share!



More information about the TYPO3-english mailing list