media.source

Used in conjuntion with the v:media.PictureViewHelper. Please take a look at the v:media.PictureViewHelper documentation for more information.

Arguments

additionalAttributes

DataType

mixed

Required

false

Description

Additional tag attributes. They will be added directly to the resulting HTML tag.

data

DataType

mixed

Required

false

Description

Additional data-* attributes. They will each be added with a "data-" prefix.

aria

DataType

mixed

Required

false

Description

Additional aria-* attributes. They will each be added with a "aria-" prefix.

class

DataType

string

Required

false

Description

CSS class(es) for this element

dir

DataType

string

Required

false

Description

Text direction for this HTML element. Allowed strings: "ltr" (left to right), "rtl" (right to left)

id

DataType

string

Required

false

Description

Unique (in this file) identifier for this HTML element.

lang

DataType

string

Required

false

Description

Language for this element. Use short names specified in RFC 1766

style

DataType

string

Required

false

Description

Individual CSS styles for this element

title

DataType

string

Required

false

Description

Tooltip text of element

accesskey

DataType

string

Required

false

Description

Keyboard shortcut to access this element

tabindex

DataType

integer

Required

false

Description

Specifies the tab order of this element

onclick

DataType

string

Required

false

Description

JavaScript evaluated for the onclick event

media

DataType

string

Required

false

Description

Media query for which breakpoint this sources applies

width

DataType

string

Required

false

Description

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

DataType

string

Required

false

Description

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

DataType

integer

Required

false

Description

Maximum Width of the image. (no upscaling)

maxH

DataType

integer

Required

false

Description

Maximum Height of the image. (no upscaling)

minW

DataType

integer

Required

false

Description

Minimum Width of the image.

minH

DataType

integer

Required

false

Description

Minimum Height of the image.

format

DataType

string

Required

false

Description

Format of the processed file - also determines the target file format. If blank, TYPO3/IM/GM default is taken into account.

quality

DataType

integer

Default

90

Required

false

Description

Quality of the processed image. If blank/not present falls back to the default quality defined in install tool.

relative

DataType

boolean

Required

false

Description

Produce a relative URL instead of absolute