[TYPO3-english] Removing csi-foo tags

kestutis98 at yahoo.com kestutis98 at yahoo.com
Fri Feb 27 12:44:33 CET 2009


Hallo,

Could you advice how to include images with my own <div> and CSS settings?
After installation of tx_croncssstyledimgtext plugin I was able to turn off 
some border and <dt><dl> settings in TypoScript Object Browser.
Now I have in my template Setup:

config.inlineStyle2TempFile = 0
plugin.tx_cssstyledcontent._CSS_DEFAULT_STYLE >
plugin.tx_croncssstyledimgtext._CSS_DEFAULT_STYLE >

tt_content.image.20.maxW = 1200
tt_content.image.20.spaceBelowAbove = 0
tt_content.image.20.borderThick = 0
tt_content.image.20.colSpace = 0
tt_content.image.20.rowSpace = 0
tt_content.image.20.textMargin = 0
tt_content.image.20.rowSpace = 0
tt_content.image.20.equalH.field = 0
tt_content.image.20.cols.field = imagecols
tt_content.image.20.noRows.field =
 image_noRows
tt_content.image.20.cols.field = imagecols
tt_content.textpic.20.defaultRenderMethod = div
tt_content.image.20.defaultRenderMethod = div
tt_content.image.20.1.imageLinkWrap = 0

But TypoScript still outputs numerous and cryptic DIV tags around my image:

<div id="iliustr"><div class="csi-textpic csi-center csi-above">
<div class="csi-imagewrap" style="width:810px;">
<div class="csi-imagecolumn" style="width:810px;">
<div class="csi-image" style="width:810px;"><div>
<img src="uploads/pics/media5.jpg" width="810" height="152" border="0" alt="" title="" />
</div></div></div></div><div class="csi-text"></div></div><div class="csi-clear"></div></div>

Is there any short and effective method to suppres default Typo3 image rendering
and include my own DIV tags?

Thank you in
 advance,
Kestutis


      


More information about the TYPO3-english mailing list