ViewHelper Documentation
v:uri.image
Uri: Image
Returns the relative or absolute URI for the image resource or it's derivate if differing dimesions are provided.
Arguments
additionalAttributes anySimpleType
Additional tag attributes. They will be added directly to the resulting HTML tag.
src anySimpleType
Path to the media resource(s). Can contain single or multiple paths for videos (either CSV, array or implementing Traversable).
relative boolean
If FALSE media URIs are rendered absolute. URIs in backend mode are always absolute.
width string
Width of the image. This can be a numeric value representing the fixed width of the image in pixels. But you can also perform simple calculations by adding "m" or "c" to the value. See imgResource.width for possible options.
height string
Height of the image. This can be a numeric value representing the fixed height of the image in pixels. But you can also perform simple calculations by adding "m" or "c" to the value. See imgResource.width for possible options.
treatIdAsReference boolean
When TRUE treat given src argument as sys_file_reference record. Applies only to TYPO3 6.x and above.