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
src anySimpleType
Path to the media resource(s). Can contain single or multiple paths for videos/audio (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.
maxW integer
Maximum Width of the image. (no upscaling)
maxH integer
Maximum Height of the image. (no upscaling)
minW integer
Minimum Width of the image.
minH integer
Minimum Height of the image.
format string
Format of the processed file - also determines the target file format. If blank, TYPO3/IM/GM default is taken into account.
quality integer
Quality of the processed image. If blank/not present falls back to the default quality defined in install tool.
treatIdAsReference boolean
When TRUE treat given src argument as sys_file_reference record. Applies only to TYPO3 6.x and above.