consider the previously posted code by me:
<td width="100" valign="top" nowrap class="wsback1">
{tbs_check.1;if '{lst.image_thumb}' != '';block=td}
<a href="/data/article/images/{lst.image;htmlconv=no;friendb=a}" target="_blank">
<img src="/data/article/images/thumbnails/{lst.image_thumb;htmlconv=no;friendb=img}" border="0">
</a>
</td>
<td width="100" valign="top" nowrap class="wsback1">
{tbs_check.1;else;block=td}
<a href="/data/article/images/{lst.image;htmlconv=no;friend2=a}" target="_blank" class="fade art_links">
Click here for a larger image
</a>
</td> |
Now, I would say this displays either one or the other block....
but it is part of a larger block, and when previous images did have a thumbnail, and the current one does not, then it has neither of the two td cells :(
below is the entire piece (I replaced the { to [ for you)
<table width="100%" border="0" cellpadding="0" cellspacing="3">
<tr>
<td>
<table width="100%" border="0" cellpadding="1" cellspacing="3">
<tr>
<td valign="top" colspan="2" class="wsheader">
[lst.title_id;block=row;htmlconv=no;encaps=2]
</td>
</tr>
<tr>
<td width="100" valign="top" nowrap class="wsback1">
[tbs_check.1;if '[lst.image_thumb]' != '';block=td]
<a href="/data/article/images/[lst.image;htmlconv=no;friendb=a]" target="_blank">
<img src="/data/article/images/thumbnails/[lst.image_thumb;htmlconv=no;friendb=img]" border="0">
</a>
</td>
<td width="100" valign="top" nowrap class="wsback1">
[tbs_check.1;else;block=td]
<a href="/data/article/images/[lst.image;htmlconv=no;friend2=a]" target="_blank" class="fade art_links">
Click here for a larger image
</a>
</td>
<td width="90%" height="50" valign="top" class="wsback2">
Description<br/>
[lst.descr_id;htmlconv=wsp;.]
</td>
</tr>
</table>
</td>
</tr>
<tr class="wsback1">
<td>No article was found for the current category.[lst;block=row;nodata]</td>
</tr>
</table> |