ImageViewHelper
class ImageViewHelper extends AbstractViewHelper (View source)
Renders the src path of a thumbnail image of a given Neos.Media image instance
= Examples =
{neos.media:uri.image(image: imageObject)}
<output>
(depending on the image)
_Resources/Persistent/b29[...]95d.jpeg
</output>
<code title="Rendering an image path with scaling at a given width only">
{neos.media:uri.image(image: imageObject, maximumWidth: 80)}
Properties
protected ThumbnailService | $thumbnailService | ||
protected AssetService | $assetService |
Methods
void
initializeArguments()
No description
string
render()
Renders the path to a thumbnail image, created from a given image.
Details
void
initializeArguments()
No description
string
render()
Renders the path to a thumbnail image, created from a given image.