Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/06/2009, 21:31
lvinuezav
 
Fecha de Ingreso: diciembre-2007
Mensajes: 218
Antigüedad: 16 años, 4 meses
Puntos: 1
Respuesta: Disminuir Tamaño de Imagen BLOB

Saludos,

Gracias Ag666 por responder, la imagen se me reduce ok, pero ahora se amplia demasiado el espacio donde va la imagen pero solo en IE por que en FF funciona OK, este es el codigo:

<TABLE cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<? if( mysql_num_rows($rcap)>0)
{ while($row=mysql_fetch_array($rcap))
{
?>
<TD class=br width=257>
<TABLE cellSpacing=0 cellPadding=0>
<TBODY>
<TR>
<TD vAlign=center align=center width=125><A
href="#"><img
src="http://www.forosdelweb.com/f53/librerias/blob/foto_producto.php?id=<?php echo $row['prod_codigo'] ?>" alt="" name="imgBamburgh" style="width:50%; height:50%;" border="0" class="PopBoxImageSmall" id="imgBamburgh" title="<?php echo $row['prod_nombre']; ?>" onClick="Pop(this,50,'PopBoxImageLarge');"
pbshowcaption="true" pbcaption="<?php echo substr($row['prod_descripcion'],0,30); ?>" /></A></TD>
<TD vAlign=top width=150>
<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<TD vAlign=top width=150
height=5></TD></TR>
<TR>
<TD height=1></TD></TR>
<TR>
<TD height=35 align="left"><A class=ml3
href="#"><?php echo $row['prod_nombre']; ?></A></TD>
</TR>
<TR>
<TD height=1></TD></TR>
<TR>
<TD>
<TABLE cellSpacing=0 cellPadding=0 width=95%
align=center>
<TBODY>
<TR>
<TD colSpan=2 align="left"><?php echo substr($row['prod_descripcion'],0,30); ?>....</TD>
</TR>
<TR>
<TD colSpan=2 height=4></TD></TR>
<TR>
<TD colSpan=2 align="left"><hr color="#ff7011" style="height:1px" width="130px" align="left"></TD></TR>
<TR>
<TD colSpan=2 height=7></TD></TR>
<TR>
<TD width="54%" align="left" class=ps2 style="FONT-SIZE: 17px"><SPAN
class=currency_symbol>$</SPAN><?php echo $row['prod_precio']; ?><SPAN
class=currency_symbol></SPAN> </td>
<TD width="46%" align=center><A href="info_producto.php?id=<?php echo $row['prod_codigo']; ?>" ><IMG height=22 alt="" src="http://www.forosdelweb.com/f53/imagenes/button_view.gif" width=59 border=0 /></A></TD>
</TR></TBODY></TABLE></TD></TR>
<TR>
<TD
height=9></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE>
</TD>
<TD width=2></TD>
<? $col++;
if ($col>1)
{ ?> <tr>
<?
$col=0;
} }}?>

<TR>
<TD colSpan=3 height=2></TD></TR>
<TR>
<TR></TR><!-- new_products_eof //--></table>

De antemano muchas gracias.