[TYPO3] Rendering a tt_content field as an image

Tyler Kraft headhunterxiii at yahoo.ca
Tue Sep 4 13:00:27 CEST 2007


Hi,

Well lib.footer.conf.tt_content.file.10 is a content object (TEXT, COA, 
HTML what ever you choose really) so you could apply stdWrap to it and 
use the powers of parseFunc or any other stdWrap properties to strip the 
html and fix your characters for you.

hth



Brian Bendtsen wrote:
> Hi
> 
> The content from the bodytext field is not rendered the right way. 
> Special charecteres like • are not included in the transformation to an 
> image file. The same goes for formatting, like bold and italics.
> 
> I guess I need to tell the typoscript to parse the text as html but im 
> not sure where or how I do this.
> 
> This is what I have so far:
> 
> #Footer
> lib.footer = RECORDS
> lib.footer {
>  tables = tt_content
>  source = 3
>  conf.tt_content = IMAGE
>  conf.tt_content {
>   file = GIFBUILDER
>   file {
>    XY = 550, 20
>    backColor = #960018
>    10 = TEXT
>    10.text.field = bodytext
>    10.offset = 10,15
>    10.fontColor = #ffffff
>    10.fontFile = fileadmin/fonts/arialbd.ttf
>    10.fontSize = 12
>   }
>  }
> }
> 
> 
> /Brian


More information about the TYPO3-english mailing list