3 * This file is part of the TYPO3 CMS project.
5 * It is free software; you can redistribute it and/or modify it under
6 * the terms of the GNU General Public License, either version 2
7 * of the License, or any later version.
9 * For the full copyright and license information, please read the
10 * LICENSE.txt file that was distributed with this source code.
12 * The TYPO3 project - inspiring people to share!
16 * Generates a thumbnail and returns an image stream, either GIF/PNG or JPG
18 * @author René Fritz <r.fritz@colorcube.de>
19 * @deprecated since TYPO3 CMS 7, will be removed with TYPO3 CMS 8, use the corresponding Resource objects and Processing functionality
22 require __DIR__
. '/init.php';
24 \TYPO3\CMS\Core\Utility\GeneralUtility
::deprecationLog(
25 'thumbs.php is no longer in use, please use the corresponding Resource objects to generate a preview functionality for thumbnails.'
27 $GLOBALS['SOBE'] = \TYPO3\CMS\Core\Utility\GeneralUtility
::makeInstance(\TYPO3\CMS\Backend\View\ThumbnailView
::class);
28 $GLOBALS['SOBE']->init();
29 $GLOBALS['SOBE']->main();