85bb4e5121b0e5095a7b5e3c6d6711d4d2a28ae4
[Packages/TYPO3.CMS.git] / typo3 / sysext / frontend / Resources / PHP / Eid / ShowPic.php
1 <?php
2 /*
3 * This file is part of the TYPO3 CMS project.
4 *
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.
8 *
9 * For the full copyright and license information, please read the
10 * LICENSE.txt file that was distributed with this source code.
11 *
12 * The TYPO3 project - inspiring people to share!
13 */
14
15 /**
16 * eID-Script for tx_cms_showpic
17 *
18 * Shows a picture from FAL in enlarged format in a separate window.
19 * Picture file and settings is supplied by GET-parameters:
20 * - file = fileUid or Combined Identifier
21 * - encoded in an parameter Array (with weird format - see ContentObjectRenderer about ll. 1500)
22 * - width, height = usual width an height, m/c supported
23 * - sample = 0/1
24 * - effects
25 * - frame
26 * - bodyTag
27 * - title
28 * - wrap
29 * - md5 = actually contains an hmac
30 */
31
32 if (!defined('PATH_typo3conf')) {
33 die('The configuration path was not properly defined!');
34 }
35
36 // Make instance:
37 $GLOBALS['SOBE'] = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Frontend\Controller\ShowImageController::class);
38 $GLOBALS['SOBE']->execute();