Tendrías que cambiar tu código por algo más de este estilo:
Código HTML:
<?
mysql_connect("localhost","lasarten_33","****"); //usuario y contraseña
$result=mysql_db_query("lasarten_lac","select * from ventas"); //base de datos, tabla
?>
<table width="600" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr>
<td><img src="logotipo.jpg" width="600" height="180"></td>
</tr>
<tr>
<td><img src="bar_top.jpg" width="600" height="33" border="0" usemap="#Map"></td>
</tr>
<tr bgcolor="#526887">
<td height="386"></div>
<table width="575" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#000000">
<tr bgcolor="#313F51" class="ventastitulo">
<td width="30" class="ventastitulo">ID</td>
<td width="70">Barrio</td>
<td width="350">Características</td>
<td width="120">Foto</td>
</tr>
<?php
while($row=@mysql_fetch_array($result))
{
?>
<tr bgcolor="#526887">
<td width="30" class="ventastitulo"><?=$row["id"]?></td>
<td width="70" class="ventastitulo"><?=$row["barrio"]?></td>
<td width="350" class="ventastitulo"><?=$row["tipo"]?></td>
<td width="120"><div align="center" class="ventastitulo"><img src="/imagenes/thumbnails/<?=$row["id"]?>.jpg"><a href="/imagenes/<?=$row["id"]?>.jpg" class="ventastitulo">Ver grande</a></div></td>
</tr>
<?php
}
?>
</table>
</td>
</tr>
<tr bgcolor="#235F9E" background="parteabajo.gif">
<td height="19" nowrap><div class="copy" align="center"> \\ Todos los derechos reservados © <strong>Lacal</strong>: Negocios Inmobiliarios // </div>
<div align="center"></div></td>
</tr>
</table>
De manera que imprimas una fila de la tabla siempre que la llamada a la funcion mysql_fetch_array() devuelva datos.
Saludos!