class ThumbnailViewHelper extends AbstractTagBasedViewHelper (View source)

Renders an HTML tag from a given Asset Proxy instance

This view helper is INTERNAL for now, and only used in the Media Browser. The functionality of this view helper might become part of the Neos.Media thumbnail view helper if there is a demand for it.

= Examples =


<output>
<img src="https://my-asset-management.com/thumbnails/espresso.jpg" width="120" height="180" alt="a sample asset without scaling" />
</output>

Properties

protected string $tagName

name of the tag to be created by this view helper

Methods

void
initializeArguments()

No description

string
render()

Renders an HTML img tag with a thumbnail or preview image, created from a given asset proxy.

Details

void initializeArguments()

No description

Return Value

void

Exceptions

Exception

string render()

Renders an HTML img tag with a thumbnail or preview image, created from a given asset proxy.

Return Value

string

an html tag