Translations
Info
All page names need to be in English.
en da  de  fr  it  ja  km  nl  ru  zh

TSref/FILE

From TYPO3Wiki
Jump to: navigation, search

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
Go to: typo3.org    
Login, and you can edit.
Personal tools
Namespaces

Variants
Actions