ThumbnailViewHelper extends AbstractTagBasedViewHelper
This class is the implementation of a Fluid ViewHelper.
View this class in the TYPO3 ViewHelper reference: <backend:thumbnail>
FinalYes
ViewHelper for the backend which generates an :html:`<img>` tag with the special URI to render thumbnails deferred.
Examples
Default
::
<be:thumbnail image="{file.resource}" width="{thumbnail.width}" height="{thumbnail.height}" />
Output::
Inline notation
::
{be:thumbnail(image: file.resource, maxWidth: thumbnail.width, maxHeight: thumbnail.height)}
Output::
Table of Contents
Properties
- $imageService : ImageService
- $tagName : string
Methods
- __construct() : mixed
- initializeArguments() : void
- render() : string
Properties
$imageService
protected
ImageService
$imageService
$tagName
protected
string
$tagName
= 'img'
Methods
__construct()
public
__construct() : mixed
initializeArguments()
public
initializeArguments() : void
render()
public
render() : string