Files and Images
| Property | Data type | Default | Plus | MVC |
|---|---|---|---|---|
| addIcon | Boolean | 0 | Yes | Yes |
| addToUploadFolder | String | None | Yes | Yes |
| alt | String | None | Yes | Yes |
| default | String | None | Yes | Yes |
| fieldAlt | Field name | None | Yes | Yes |
| fieldMessage | Field name | None | Yes | Yes |
| height | Integer | None | Yes | Yes |
| iframe | Boolean | 0 | Yes | No |
| message | String | None | Yes | Yes |
| onlyFileName | String | None | Yes | No |
| renderAsLink | Boolean | 0 | Yes | No |
| size | Integer | None | Yes | No |
| tsProperties | String | None | Yes | No |
| uploadFolder | String | None | Yes | Yes |
| width | Integer | None | Yes | Yes |
addIcon
- Property
addIcon
- Data type
- Boolean
- Description
- Adds an icon in front of the hyperlink associated with the file.
- Default
- 0
addToUploadFolder
- Property
- addToUploadFolder
- Data type
- String
- Description
- Adds a subpath to the UploadFolder path.
alt
- Property
- alt
- Data type
- String
- Description
- Provides the HTML alt attribute for an image.
default
- Property
- default
- Data type
- String
- Description
- Defines the default image if the content of the field is null
otherwise the default image is
unknown.giftaken in the directorysav_library_Plus/Resources/Public/Images.
fieldAlt
- Property
- fieldAlt
- Data type
- Field name
- Description
- Sets the
altattribute with the content of the field whose name is given by field_name.
fieldMessage
- Property
fieldMessage
- Data type
- Field name
- Description
- Sets the attribute
messagewith the content of the field whose name is given by field_name.
height
- Property
- height
- Data type
- Integer
- Description
- Sets the height of an image or of the iframe.
iframe
- Property
- iframe
- Data type
- Boolean
- Description
- Opens the image in an iframe.
- Default
- 0
message
- Property
- message
- Data type
- String
- Description
- If the file is not an image, a hyperlink is created with the string.
onlyFileName
- Property
- onlyFileName
- Data type
- String
- Description
- Displays only the file name.
renderAsLink
- Property
- renderAsLink
- Data type
- Boolean
- Description
- If set, the image is rendered as a link.
size
- Property
- size
- Data type
- Integer
- Description
- Sets the size attribute. It overwrites the same attribute in the TCA.
tsProperties
- Property
- tsProperties
- Data type
- String
- Description
-
It makes it possible to use the graphic possibilities of TYPO3. If set, an IMAGE cObject is generated with the given TypoScript properties.
Important
Do not forget that the configuration field is ended by a semi-column, therefore if you need a semi-column in your TypoScript, write it
\\;.
uploadFolder
- Property
- uploadFolder
- Data type
- String
- Description
- Sets the folder path where the file is stored. It overwrites the same attribute in the TCA.
width
- Property
- width
- Data type
- Integer
- Description
- Sets the width of an image or of the iframe.