[TYPO3-core] RFC #8512: Feature: New Hook in function cImage of class.tslib_content.php
Benjamin Mack
benni at typo3.org
Fri Jul 25 12:27:08 CEST 2008
Hey Custos,
yes, I'd love a hook there as well. Two things about that hook though:
When I look a tslib_content::cImage(), I notice the following:
1. $GLOBALS['TSFE']->imagesOnPage[]=$info[3];
If you plan on altering the image location with your tag, this would
needs to be updated as well, right? So, I suggest to add
$info to the params array, and then have the above line
2. if we could / would add a stdWrap somewhere in that cImage method
(dunno where yet), this would solve a lot, right? And we could get rid
of the hook then, right?
I'm all for some modifications there! Of course, as Ingo stated, only in
trunk though!
greetings,
benni.
-SDG-
Custos Ostii wrote:
> This is an SVN patch request.
>
> Type: New feature
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=8512
>
> Branches:
> TYPO3_4-2 and trunk
>
> Problem:
> There isnt any way to manipulte the <img> tag in all places from one point
> I think that this Hook could be useful to use your own CDN or similar things
>
> Solution:
> A new Hook in cImage function
>
>
> ----------------------------------------------------------------------------------------------------------
> Visita http://www.typo3performance.com/ el sitio de referencia de Typo3 en Español
>
>
>
> ______________________________________________
> Enviado desde Correo Yahoo! La bandeja de entrada más inteligente.
--
greetings,
benni.
-SDG-
More information about the TYPO3-team-core
mailing list