[TYPO3-mvc] Rendering a picture

Xavier Perseguers typo3 at perseguers.ch
Mon Jun 15 09:19:54 CEST 2009


Hi,

>> 2) Action "show" renders the whole page, I have to add an "exit" 
>> statement after $graph->Stroke(); to prevent this. Is there another 
>> "official" solution?
>>
> 
> I do not think this is something to be done with an Action. Maybe you 
> should write out the image to typo3temp and render img Tag or return img 
> URL. Or well, maybe it would be a good idea to implement an official 
> "exit" stragy...

I would like to prevent writing images to typo3temp but that may be a 
"good" solution. I just have to make sure the images are deleted at some 
point and I'm not sure which mechanism in TYPO3 delete those files.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en

One contribution a day keeps the fork away


More information about the TYPO3-project-typo3v4mvc mailing list