---
title: "Deprecation: #90861 - Image-related methods within ContentObjectRenderer"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:deprecation-90861"
source: "Changelog/10.4/Deprecation-90861-Image-relatedMethodsWithinContentObjectRenderer.rst"
typo3-version: "10.4"
typo3-major: 10
type: "deprecation"
issue: 90861
forge: "https://forge.typo3.org/issues/90861"
tags: ["Frontend", "PHP-API", "FullyScanned", "ext:frontend"]
rendered: "2026-09-20T18:31:11+00:00"
---

# Deprecation: #90861 - Image-related methods within ContentObjectRenderer {#deprecation-90861}

See [forge#90861](https://forge.typo3.org/issues/90861)

## Description {#description}

The following methods within `\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer`,
all which are related to generating `<img>` tags for TYPO3 Frontend output via TypoScript, have been marked as deprecated:

-   `cImage()`
-   `getBorderAttr()`
-   `getImageTagTemplate()`
-   `getImageSourceCollection()`
-   `linkWrap()`
-   `getAltParam()`

An additional method, `imageLinkWrap()` has been marked as "internal" now in order to allow refactoring in future TYPO3 versions.

All methods have been moved to the `ImageContentObject` class, als known as "IMAGE" cObject.

The methods purpose is only relevant for generating IMAGE, thus making the actual ContentObjectRenderer class smaller.

## Impact {#impact}

Any TypoScript configuration using code of this is not affected.

Only third-party extensions that use this code for frontend-related
image rendering might directly call these PHP methods. Calling these
methods will trigger a PHP `E_USER_DEPRECATED` error.

## Affected Installations {#affected-installations}

TYPO3 installations with custom third-party extensions calling these
methods. TYPO3's Extension Scanner code can directly detect these calls.

## Migration {#migration}

As all moved methods are protected, it is recommended to either
extend the ImageContentObject class, or copy the respective code
into the third-party extension requiring this code.
