TYPO3 CMS  TYPO3_6-2
TYPO3\CMS\Frontend\Controller\ShowImageController Class Reference
Inheritance diagram for TYPO3\CMS\Frontend\Controller\ShowImageController:
SC_tslib_showpic

Public Member Functions

 init ()
 
 main ()
 
 printContent ()
 
 execute ()
 

Protected Member Functions

 processImage ()
 

Protected Attributes

 $file
 
 $width
 
 $height
 
 $sample
 
 $effects
 
 $frame
 
 $hmac
 
 $bodyTag = '<body>'
 
 $wrap = '|'
 
 $title = 'Image'
 
 $content
 
 $imageTag = '<img src="###publicUrl###" alt="###alt###" title="###title###" />'
 

Detailed Description

Script Class, generating the page output. Instantiated in the bottom of this script.

Author
Kasper Skårhøj kaspe.nosp@m.rYYY.nosp@m.Y@typ.nosp@m.o3.c.nosp@m.om

Definition at line 27 of file ShowImageController.php.

Member Function Documentation

◆ execute()

◆ init()

◆ main()

TYPO3\CMS\Frontend\Controller\ShowImageController::main ( )

Main function which creates the image if needed and outputs the HTML code for the page displaying the image. Accumulates the content in $this->content

Returns
void

Definition at line 148 of file ShowImageController.php.

References TYPO3\CMS\Frontend\Controller\ShowImageController\$title, and TYPO3\CMS\Frontend\Controller\ShowImageController\processImage().

Referenced by TYPO3\CMS\Frontend\Controller\ShowImageController\execute().

◆ printContent()

TYPO3\CMS\Frontend\Controller\ShowImageController::printContent ( )

◆ processImage()

TYPO3\CMS\Frontend\Controller\ShowImageController::processImage ( )
protected

Does the actual image processing

Returns

Definition at line 174 of file ShowImageController.php.

References TYPO3\CMS\Core\Utility\MathUtility\forceIntegerInRange().

Referenced by TYPO3\CMS\Frontend\Controller\ShowImageController\main().

Member Data Documentation

◆ $bodyTag

TYPO3\CMS\Frontend\Controller\ShowImageController::$bodyTag = '<body>'
protected

Definition at line 68 of file ShowImageController.php.

◆ $content

TYPO3\CMS\Frontend\Controller\ShowImageController::$content
protected
Initial value:
= <<<EOF
<!DOCTYPE html>
<html>
<head>
<title>###TITLE###</title>
<meta name="robots" content="noindex,follow" />
</head>
###BODY###
###IMAGE###
</body>
</html>
EOF

Definition at line 83 of file ShowImageController.php.

Referenced by TYPO3\CMS\Frontend\Controller\ShowImageController\printContent().

◆ $effects

TYPO3\CMS\Frontend\Controller\ShowImageController::$effects
protected

Definition at line 53 of file ShowImageController.php.

◆ $file

TYPO3\CMS\Frontend\Controller\ShowImageController::$file
protected

Definition at line 33 of file ShowImageController.php.

◆ $frame

TYPO3\CMS\Frontend\Controller\ShowImageController::$frame
protected

Definition at line 58 of file ShowImageController.php.

◆ $height

TYPO3\CMS\Frontend\Controller\ShowImageController::$height
protected

Definition at line 43 of file ShowImageController.php.

◆ $hmac

TYPO3\CMS\Frontend\Controller\ShowImageController::$hmac
protected

◆ $imageTag

TYPO3\CMS\Frontend\Controller\ShowImageController::$imageTag = '<img src="###publicUrl###" alt="###alt###" title="###title###" />'
protected

Definition at line 96 of file ShowImageController.php.

◆ $sample

TYPO3\CMS\Frontend\Controller\ShowImageController::$sample
protected

Definition at line 48 of file ShowImageController.php.

◆ $title

TYPO3\CMS\Frontend\Controller\ShowImageController::$title = 'Image'
protected

◆ $width

TYPO3\CMS\Frontend\Controller\ShowImageController::$width
protected

Definition at line 38 of file ShowImageController.php.

◆ $wrap

TYPO3\CMS\Frontend\Controller\ShowImageController::$wrap = '|'
protected

Definition at line 73 of file ShowImageController.php.