ThumbnailController

class \TYPO3\CMS\Backend\Controller\File\ThumbnailController

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

ResponseInterface

extractParameters()

protected extractParameters(array $queryParameters) : array|null

Parameters

$queryParameters : array

Return values

array|null

generateNotFoundResponse()

protected generateNotFoundResponse() : ResponseInterface

Return values

ResponseInterface

generateThumbnail()

protected generateThumbnail(mixed|int $fileId, array $configuration) : ResponseInterface

Parameters

$fileId : mixed|int
$configuration : array

Tags

throws
FileDoesNotExistException

Return values

ResponseInterface
On this page