Files and Images¶
Property |
Data type |
Default |
Plus |
MVC |
---|---|---|---|---|
Boolean |
0 |
Yes |
Yes |
|
Boolean |
0 |
Yes |
No |
|
String |
None |
Yes |
No |
|
Field name |
None |
Yes |
No |
|
String |
None |
Yes |
Yes |
|
String |
None |
Yes |
Yes |
|
Field name |
None |
Yes |
Yes |
|
Field name |
None |
Yes |
Yes |
|
Integer |
None |
Yes |
Yes |
|
Boolean |
0 |
Yes |
No |
|
String |
None |
Yes |
Yes |
|
String |
None |
Yes |
No |
|
Boolean |
0 |
Yes |
No |
|
Integer |
None |
Yes |
No |
|
String |
None |
Yes |
No |
|
String |
None |
Yes |
Yes |
|
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/Public/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.
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.