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

TSref/IMG RESOURCE

From TYPO3Wiki
Jump to: navigation, search

This page is document in progress. TypoScript

IMG_RESOURCE

Returns a reference to the image, possibly wrapped with stdWrap. Can be used, for example, to put background images in tables or table-rows or to import a image into your include scripts; or wherever you need to reference an image.

The array $GLOBALS["TSFE"]->lastImgResourceInfo is set to the info array of the resulting image resource (if any) and contains width, height and so on.

Property: Data type: Description: Default:
file imgResource
stdWrap stdWrap

[tsref:(cObject).IMG_RESOURCE]

Related Objects

IMAGE creates a complete img-tag and should be the prefered objects to be used in HTML-output.

Go to: typo3.org    
Login, and you can edit.
Personal tools
Namespaces

Variants
Actions