[TYPO3-core] RFC Feature #9292: Integrate hook at the end of tslib_cObj::getImgResource
Oliver Hader
oliver at typo3.org
Mon Aug 3 21:48:21 CEST 2009
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
--
Oliver Hader
TYPO3 Release Manager 4.3
More information about the TYPO3-team-core
mailing list