Hallo zusammen,
ich möchte einen Text als gif darstellen.
Dabei nutzte ich folgenden XML-Eintrag:
Code:
<field_subtitle type="array">
<tx_templavoila type="array">
<title>Subtitle</title>
<description>Subtitle</description>
<sample_data type="array">
<numIndex index="0">Subtitle</numIndex>
</sample_data>
<eType>input</eType>
<eType_EXTRA type="array">
<objPath>lib.subtitle</objPath>
</eType_EXTRA>
<TypoScript>
<![CDATA[
gfx = GIFBUILDER
gfx {
XY = 600, [10.h]+4
offset = 0, [10.h]-4
10 = TEXT
10 {
text.field = current=1
fontFile = fileadmin/templates/_media/fonts/GARA.TTF
fontSize = 10
fontColor = #000000
align = left
niceText= 1
}
}
10 = IMAGE
10.file < gfx
]]>
</TypoScript>
<proc type="array">
<HSC type="integer">1</HSC>
</proc>
</tx_templavoila>
<TCEforms type="array">
<config type="array">
<type>input</type>
<size>48</size>
<eval>trim</eval>
</config>
<label>Subtitle</label>
</TCEforms>
</field_subtitle> jedoch wird im Frontend das Bild folgend dargestellt:
Code:
<img src="typo3temp/GB/0eb7c92c07.gif" width="600" height="4" border="0" alt="" title="" />
wie kann ich das verhindern!
und wie kann ich auf den wert des eintrag korrekt zugreifen und diesen dem gifbuilder übergeben ?