[TYPO3-core] RFC Feature #9292: Integrate hook at the end of tslib_cObj::getImgResource

Christian Kuhn lolli at schwarzbu.ch
Fri Aug 28 14:31:41 CEST 2009


Hey,

Oliver Hader wrote:
>> Type: Feature
>>
>> Bugtracker references:
>> http://bugs.typo3.org/view.php?id=9292
>>
>> Branches: Trunk
>>
>> Problem:
>> Imagine you'd like to post-process any image file by a special effect
>> that is not covered by the current standard possibilities of ImageMagick
>> or the image rendering functionality of TYPO3 in general.
>>
>> Solution:
>> Add a new hook to the bottom of the getImgResource() method. Since the
>> regular image rendering would just return the result this is now put to
>> the local variable $imageResource and processed by the hook later on.
>>
>> Notes:
>> You can use the attached unit test to ensure that the hook object gets
>> called correctly with the expected information.

+1 on reading and testing (with your unit test).

Thanks
Christian


More information about the TYPO3-team-core mailing list