ContentObjectGetImageResourceHookInterface

interface \TYPO3\CMS\Frontend\ContentObject\ContentObjectGetImageResourceHookInterface

Interface for classes which hook into \TYPO3\CMS\Frontend\ContentObject and do additional getImgResource processing

Table of Contents

Methods

getImgResourcePostProcess()  : array
Hook for post-processing image resources

Methods

getImgResourcePostProcess()

Hook for post-processing image resources

public getImgResourcePostProcess(string $file, array $configuration, array $imageResource, ContentObjectRenderer $parent) : array

Parameters

$file : string

Original image file

$configuration : array

TypoScript getImgResource properties

$imageResource : array

Information of the created/converted image resource

$parent : ContentObjectRenderer

Parent content object

Return values

array —

Modified image resource information

On this page