[!!!][FEATURE] Add PSR-14 Event and DTO for modifying resolved ImageResource
This replaces the previously available hook $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['getImgResource'] which is therefore now removed. The hook required implementations to implement the `ContentObjectGetImageResourceHookInterface`, which is now deprecated as it's unused due to the hook removal. Resolves: #102755 Releases: main Change-Id: I8fb387d035fe4d8ecb904b1e379b0bf1872193e6 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82332 Reviewed-by:Oliver Bartsch <bo@cedev.de> Tested-by:
core-ci <typo3@b13.com> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Benni Mack <benni@typo3.org> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Tested-by:
Benni Mack <benni@typo3.org> Tested-by:
Oliver Bartsch <bo@cedev.de>
Showing
- Build/phpstan/phpstan-baseline.neon 0 additions, 5 deletionsBuild/phpstan/phpstan-baseline.neon
- typo3/sysext/core/Classes/Imaging/ImageResource.php 168 additions, 0 deletionstypo3/sysext/core/Classes/Imaging/ImageResource.php
- typo3/sysext/core/Documentation/Changelog/13.0/Breaking-102755-ImprovedGetImageResourceFunctionality.rst 55 additions, 0 deletions...Breaking-102755-ImprovedGetImageResourceFunctionality.rst
- typo3/sysext/core/Documentation/Changelog/13.0/Deprecation-102755-UnusedInterfaceForGetImageResourceHook.rst 42 additions, 0 deletions...ecation-102755-UnusedInterfaceForGetImageResourceHook.rst
- typo3/sysext/core/Documentation/Changelog/13.0/Feature-102755-PSR-14EventForModifyingGetImageResourceResult.rst 73 additions, 0 deletions...-102755-PSR-14EventForModifyingGetImageResourceResult.rst
- typo3/sysext/extbase/Classes/Service/ImageService.php 5 additions, 23 deletionstypo3/sysext/extbase/Classes/Service/ImageService.php
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectGetImageResourceHookInterface.php 3 additions, 0 deletions...tentObject/ContentObjectGetImageResourceHookInterface.php
- typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php 15 additions, 70 deletions.../frontend/Classes/ContentObject/ContentObjectRenderer.php
- typo3/sysext/frontend/Classes/ContentObject/Event/AfterImageResourceResolvedEvent.php 55 additions, 0 deletions...s/ContentObject/Event/AfterImageResourceResolvedEvent.php
- typo3/sysext/frontend/Classes/ContentObject/ImageContentObject.php 15 additions, 24 deletions...ext/frontend/Classes/ContentObject/ImageContentObject.php
- typo3/sysext/frontend/Classes/ContentObject/ImageResourceContentObject.php 5 additions, 6 deletions...tend/Classes/ContentObject/ImageResourceContentObject.php
- typo3/sysext/frontend/Classes/Imaging/GifBuilder.php 36 additions, 37 deletionstypo3/sysext/frontend/Classes/Imaging/GifBuilder.php
- typo3/sysext/frontend/Tests/Functional/ContentObject/ContentObjectRendererTest.php 34 additions, 2 deletions...ts/Functional/ContentObject/ContentObjectRendererTest.php
- typo3/sysext/frontend/Tests/Functional/Imaging/GifBuilderTest.php 7 additions, 7 deletions...sext/frontend/Tests/Functional/Imaging/GifBuilderTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/Event/AfterImageResourceResolvedEventTest.php 59 additions, 0 deletions...ntentObject/Event/AfterImageResourceResolvedEventTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/ImageContentObjectTest.php 4 additions, 3 deletions...ntend/Tests/Unit/ContentObject/ImageContentObjectTest.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ArrayDimensionMatcher.php 6 additions, 0 deletions...figuration/ExtensionScanner/Php/ArrayDimensionMatcher.php
- typo3/sysext/install/Configuration/ExtensionScanner/Php/ClassNameMatcher.php 7 additions, 0 deletions...l/Configuration/ExtensionScanner/Php/ClassNameMatcher.php
Please register or sign in to comment