[TYPO3-english] Turn headings into GIFBUILDER images

Enrique Moreno Tent enriquemorenotent at gmail.com
Wed Feb 23 15:28:54 CET 2011


I want to make every heading <h1> render with a GIFBUILDER, with this code:

tt_content.header>
tt_content.header = IMAGE
tt_content.header {
        file = GIFBUILDER
        file{
            XY = 200, [10.h]+30
            10 = TEXT
            10{
                format = png
                text = Hello World!

                fontSize=24
                fontFile = fileadmin/templates/web/fonts/ClanOT-Medium.otf
                fontColor=  #333333
                offset=0,24
                niceText=1

            }
            backColor = white
            transparentBackground = 1
            transparentColor = white
            transparentColor.closest=1
        }

But this only works for the content element "header", not for the header of
other content elements. How can I do it?


More information about the TYPO3-english mailing list