[TYPO3-core] RFC Feature #9292: Integrate hook at the end of tslib_cObj::getImgResource
Oliver Hader
oliver at typo3.org
Sun Aug 30 20:58:55 CEST 2009
Hi,
Oliver Hader schrieb:
> This is an SVN patch request.
>
> 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.
>
> olly
I just realized that I used the reference operator for objects which is
not required for PHP5 at all. I'm going to remove them on committing.
olly
--
Oliver Hader
TYPO3 Release Manager 4.3
More information about the TYPO3-team-core
mailing list