phantom <table> tags

[email protected] Tue, 2 Aug 2005 22:38:34 +0200
Newsgroups gmane.comp.cms.campsite.general
Message-ID <OFDC92BD06.98B6806C-ONC1257051.0070EF54-C1257051.00715B33@mdlf.org>
This is a multipart message in MIME format.
--=_alternative 00715B30C1257051_=
Content-Type: text/plain; charset="us-ascii"

Hi all,

I've run into what may be an undocumented feature, but wanted to ask about 
it anyway. 

I'm on 2.2.2 (expecting to upgrade to 2.3.0 any minute now) and want to 
display the image from an article. The image field is called 
'teaser_image'.

The template looks like this:

<!** List Article OnFrontPage Is On>
<!** Print Article teaser_image>
<!** EndList>
<!** endlocal>

The output, however, includes an entire table for the image:

<table border=0 cellspacing=0 cellpadding=0 align=none>
<tr><td align="center"><img src="/cgi-bin/get_img?NrArticle=2&NrImage=1" 
alt="RDFW bunker" BORDER=0 HSPACE=5 VSPACE=5></td></tr>
<tr><td align="center" class="caption">RDFW bunker</td></tr>
</table>

Seeing as I'm trying to avoid tables at all costs, I want to suppress all 
this junk. But how?

doug
--=_alternative 00715B30C1257051_=
Content-Type: text/html; charset="us-ascii"


<br><font size=2 face="sans-serif">Hi all,</font>
<br>
<br><font size=2 face="sans-serif">I've run into what may be an undocumented feature, but wanted to ask about it anyway. </font>
<br>
<br><font size=2 face="sans-serif">I'm on 2.2.2 (expecting to upgrade to 2.3.0 any minute now) and want to display the image from an article. The image field is called 'teaser_image'.</font>
<br>
<br><font size=2 face="sans-serif">The template looks like this:</font>
<br>
<br><font size=2 face="sans-serif">&lt;!** List Article OnFrontPage Is On&gt;</font>
<br><font size=2 face="sans-serif">&lt;!** Print Article teaser_image&gt;</font>
<br><font size=2 face="sans-serif">&lt;!** EndList&gt;</font>
<br><font size=2 face="sans-serif">&lt;!** endlocal&gt;</font>
<br>
<br><font size=2 face="sans-serif">The output, however, includes an entire table for the image:</font>
<br>
<br><font size=3 face="Courier New">&lt;table border=0 cellspacing=0 cellpadding=0 align=none&gt;<br>
&lt;tr&gt;&lt;td align=&quot;center&quot;&gt;&lt;img src=&quot;/cgi-bin/get_img?NrArticle=2&amp;NrImage=1&quot; alt=&quot;RDFW bunker&quot; BORDER=0 HSPACE=5 VSPACE=5&gt;&lt;/td&gt;&lt;/tr&gt;<br>
&lt;tr&gt;&lt;td align=&quot;center&quot; class=&quot;caption&quot;&gt;RDFW bunker&lt;/td&gt;&lt;/tr&gt;<br>
&lt;/table&gt;</font>
<br>
<br><font size=2 face="sans-serif">Seeing as I'm trying to avoid tables at all costs, I want to suppress all this junk. But how?</font>
<br>
<br><font size=2 face="sans-serif">doug</font>
--=_alternative 00715B30C1257051_=--