[Typo3] Clear.gif and tables in text w/image and images content
Boris Senker
typo3 at dvotocka.hr
Thu Feb 17 16:34:42 CET 2005
Although I am using Ingmar's IMGTEXT extension, it works for RTE
submitted images.
However when I add text w/image or images as standard content elements,
I get a mass of unnecessary/unwanted code:
----------------------------------------------------------------------
<!-- Image block: [begin] -->
<img src="clear.gif" width="1" height="6" border="0"
class="spacer-gif" alt="" title="" /><br /><div align="center"><table
width="454" cellspacing="0" cellpadding="0"
class="imgtext-table"><tr><td colspan="3"><img src="clear.gif"
width="454" height="1" alt="" /></td></tr><tr><td valign="top"><img
src="uploads/pics/povijest-razanca-02.jpg" width="160" height="213"
align="top" alt="" title="" /><br /></td><td><img src="clear.gif"
width="10" height="1" alt="" title="" /></td><td valign="top"><img
src="uploads/pics/povijest-razanca-03.jpg" width="284" height="213"
align="top" alt="" title="" /><br /></td></tr></table></div>
<!-- Image block: [end] -->
----------------------------------------------------------------------
Is there any simpler way to remove this by changing some wrap values or
do I have to change this in class.tslib_content.php ?
All the output I need (and all I would ever need to be able to do some
proper CSS styling) is this:
----------------------------------------------------------------------
<div class="centered-nowrap"> OR <div class="intext-left"> OR like IMGTEXT
<img src="uploads/pics/povijest-razanca-02.jpg" width="160" height="213"
alt="" title="" />
<img src="uploads/pics/povijest-razanca-03.jpg" width="284" height="213"
alt="" title="" />
----------------------------------------------------------------------
Is there a way to extend IMGTEXT extension to regular Image and Text
w/image content? Or I missed something I should do?
Boris Senker
: dvotocka design
________________________________________________________________
Graphic Design for Print and Web, Prepress, Website Production
J. Laurencica 8, 10000 Zagreb, Croatia
http://www.dvotocka.hr
More information about the TYPO3-english
mailing list