[TYPO3-dev] #09292 / #08512: Add Hook to getImgResource / cImage

Oliver Hader oliver at typo3.org
Mon Aug 3 14:12:11 CEST 2009


Hi Stefan,

Stefan Geith schrieb:
> there are 2 entries in bugtracker, that deal with hooks for image-creation:
> 
>   0009292: Integrate hook at the end of tslib_cObj::getImgResource
>   http://bugs.typo3.org/view.php?id=9292
> 
>   0008512: New Hook in function cImage function
>   http://bugs.typo3.org/view.php?id=8512
> 
> Isn't #9292 (hook in getImgResource ) more felxible than #8512 ?
> 
> I mean #9292 covers cObj->cImage() AND cObj->IMG_RESOURCE(), because
> both use getImgResource ().
> To achive the same with #8512, you have to use this hook PLUS a hook
> to rewire IMG_RESOURCE() - right ?
> 
> Because I really need one of these two hooks, I would like to
> have one of them in 4.3 - best for me: #9292 (I tested this
> and use this already with a 'rounded-corners'-extension).
> 
> What do you think - any opinions ?
> #9292 isn't yet in core-list - should I add a RFC for #9292 ?

Thanks for bringing this up again. The reason I created #9292 some time
ago was rendering a wet floor effect (reflection) on images. I'm going
to put this to the core list later today and you could put your votes there.

Additionally we could add some unit test cases for that feature...

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3




More information about the TYPO3-dev mailing list