[Typo3-dev] headers, images, caching etc.

Elmar Hinz elmar.hinz at vcd-berlin.de
Thu Apr 14 18:47:39 CEST 2005


Hello,

I'm working on a plugin that outputs images. The output of the image 
functions is done directly. But I want to handle it typo3 conform to 
make it accesable to the typo3 caching mechanisms.

So I try to catch output with:

main ($conf){

[...]

ob_start();
imageFunction();
return ob_get_clean();

}

For some reasons the headers of the image files get lost this way.

Is there any solution to this problem?


Some extracts of the output page:

my_page_gfx=PAGE
my_page_gfx.config.disableAllHeaderCode=true
my_page_gfx.30 = USER_INT  # later USER
my_page_gfx.30.userFunc =tx_xyz_gfx->main

I use disableAllHeaderCode here to avoid html-headers in the images.


Reagrds Elmar







More information about the TYPO3-dev mailing list