DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
Files and images¶
Property | Data type | Default | Plus | MVC |
---|---|---|---|---|
addIcon | Boolean | 0 | Yes | Yes |
addLinkInEditMode | Boolean | 0 | Yes | No |
addToUploadFolder | String | None | Yes | No |
addToUploadFolderFromField | Field name | None | Yes | No |
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 |
size | Integer | None | Yes | No |
tsProperties | String | None | Yes | No |
uploadFolder | String | None | Yes | No |
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
addLinkInEditMode¶
Property
addLinkInEditMode
Data type
Boolean
Description
A hyperlink to the file will be added in the edit mode.
Default
0
addToUploadFolder¶
Property
addToUploadFolder
Data type
String
Description
Adds a subpath to the UploadFolder path.
addToUploadFolderFromField¶
Property
addToUploadFolderFromField
Data type
Field name
Description
Adds the content of the field whose name is given by "field_name" to the uploadFolder attribute. This information is separated with an underscore.
Example: if the field_name is "my_field" and its contents is "123", then
AddToUploadFolderFromField = my_field;
will add "_123" to the uploadFolder name.
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.gif” taken in the directory sav_library_Plus/Resources/Private/Images.
fieldAlt¶
Property
fieldAlt
Data type
Field name
Description
Sets the "alt" attribute with the content of the field whose name is given by field_name.
fieldMessage¶
Property
fieldMessage
Data type
Field name
Description
Sets the attribute "message" with 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.
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 TS properties.
Important
Do not forget that the configuration field is ended by a semi-column, therefore if you need a semi-column in your TS 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.