---
title: "IMG_RESOURCE"
manual: "TypoScript Explained"
version: "13.4"
permalink: "https://docs.typo3.org/permalink/t3tsref:cobj-img-resource@13.4"
source: "ContentObjects/ImgResource/Index.rst"
modified: "2026-09-15T07:24:16+00:00"
---

# IMG_RESOURCE

Objects of type IMG_RESOURCE returns a reference to an image, possibly
wrapped with [stdWrap](https://docs.typo3.org/permalink/t3tsref:cobj-img-resource-stdwrap@13.4). It can be used, for example,
for putting background images in tables or
table rows or to import an image in your own include scripts.
Depending on your use case you might prefer using the cObject
[IMAGE](https://docs.typo3.org/permalink/t3tsref:cobj-image@13.4), which creates a complete `img` tag.

-   [Properties](https://docs.typo3.org/permalink/t3tsref:properties@13.4)

## Properties

### cache

-   **cache**

    -   *Type:* [cache](https://docs.typo3.org/permalink/t3tsref:cache@13.4)

    See [cache function description](https://docs.typo3.org/permalink/t3tsref:cache@13.4) for details.

### file

-   **file**

    -   *Type:* [->imgResource](https://docs.typo3.org/permalink/t3tsref:imgresource@13.4)

### stdWrap

-   **stdWrap**

    -   *Type:* [->stdWrap](https://docs.typo3.org/permalink/t3tsref:stdwrap@13.4)
