TSref/IMG RESOURCE
From TYPO3Wiki
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.