ThumbnailController
class \
Internal
This class is a specific Backend controller implementation and is not considered part of the Public TYPO3 API.
Table of Contents
Properties
- $defaultConfiguration : array
Methods
- render() : ResponseInterface
- extractParameters() : array|null
- generateNotFoundResponse() : ResponseInterface
- generateThumbnail() : ResponseInterface
Properties
$defaultConfiguration
protected
array
$defaultConfiguration
= ['width' => 64, 'height' => 64, 'crop' => null]
Methods
render()
public
render(ServerRequestInterface $request) : ResponseInterface
Parameters
- $request : ServerRequestInterface
Return values
ResponseInterfaceextractParameters()
protected
extractParameters(array $queryParameters) : array|null
Parameters
- $queryParameters : array
Return values
array|nullgenerateNotFoundResponse()
protected
generateNotFoundResponse() : ResponseInterface
Return values
ResponseInterfacegenerateThumbnail()
protected
generateThumbnail(mixed|int $fileId, array $configuration) : ResponseInterface
Parameters
- $fileId : mixed|int
- $configuration : array