Wie kann ich Code direkt vor und hinter das IMG-Tag bei Bildern als Content-Elementen bekommen?
Bild wrappen
Ich hab den zugeörigen Wrap jetzt herausgefunden:
tt_content.textpic.20.1.wrap
#bzw.
tt_content.image.20.1.wrap
Damit hab ich dann einen Rahmen gemacht:
tt_content.textpic.20.1.wrap (
<table border="0" cellspacing="0" cellpadding="0">
<tr><td style="background-image:url(fileadmin/Sozi/imgTopLeft.png)" width="7" height="7"></td><td style="background-image:url(fileadmin/Sozi/imgTop.png)" height="7"></td><td style="background-image:url(fileadmin/Sozi/imgTopRight.png)" height="7" width="13"></td></tr>
<tr><td style="background-image:url(fileadmin/Sozi/imgLeft.png)" width="7"></td><td>|<img src="uploads/pics/bild_02.jpg" width="200" height="150" border="0" align="top" alt="" title="" /></td><td style="background-image:url(fileadmin/Sozi/imgRight.png)" width="13" valign="top"><img src="fileadmin/Sozi/imgTopRight2.png"></td></tr>
<tr><td style="background-image:url(fileadmin/Sozi/imgBottomLeft.png)" width="7" height="14"></td><td style="background-image:url(fileadmin/Sozi/imgBottom.png)" height="14"><img src="fileadmin/Sozi/imgBottomLeft2.png"></td><td style="background-image:url(fileadmin/Sozi/imgBottomRight.png)" width="13" height="14"></td></tr>
</table>
)
Nur wird die linke Spalte der 3*3 Tabelle nicht angezeigt. Binde ich jedoch den erzeugten HTML-Code als HTML-Content-Element ein, wird er angezeigt. Wenn ich den erzeugten Code als Wrap einsetze, wird er wieder nicht angezeigt.
Zur Verdeutlichung ein Bild: http://jakobwenzel.ja.funpic.de/typo3.JPG
Ich habs geschafft, mit der Extension css_styled_imgtext die Tabelle wegzubekommen und jetzt klappts. :p