TSref/FILE

From TYPO3Wiki

Jump to: navigation, search
Typoscript Reference FILE
Translations info
An english page for every translation.
All pagenames in english.

  en       de   nl   fr   ja   zh  

TypoScript

FILE

Property: Data type: Description: Default:

file

resource

If the resource is jpg,gif,jpeg,png the image is inserted as an image-tag. Al other formats is read and inserted into the HTML-code.

The maximum filesize of documents to be read is set to 1024 kb internally!

-


linkWrap

linkWrap

(before ".wrap")

-

wrap

TSrefDataTypes#wrap wrap

wrap

-

altText
titleText

string / stdWrap

For <img> output only!

If no titltext is specified, it will use the alttext insteadIf no alttext is specified, it will use an empty alttext

-

longdescURL

string / stdWrap

For <img> output only!

"longdesc" attribute (URL pointing to document with extensive details about image).

-

[tsref:(cObject).FILE]


# Example:
# In this example a page is defined, but the content between the body-tags comes directly from the file "gs.html":
page.10 = FILE
page.10.file = fileadmin/gs/gs.html
Personal tools