Ver Mensaje Individual
  #6 (permalink)  
Antiguo 22/08/2006, 17:14
Avatar de ciberpato
ciberpato
 
Fecha de Ingreso: agosto-2004
Mensajes: 142
Antigüedad: 19 años, 8 meses
Puntos: 1
DeeR, esta todo okey el archivo de prueba funciona bien lo carga perfecto y con su correspondiente alto y ancho osea 100x80 o 80x100 segun sea el caso. El problema que tengo ahora es como incluir este código sin que me joda el HEADER en el script siguiente que funciona con imágenes 800x600 sin problemas:

<?php
include("../../cgi-bin/proxy.php");
include("../../cgi-bin/strSql.php");
$objProxy=new proxy();
$count=0;
getFotoLogoDoc(2);
$resultset=$objProxy->consultar($sql);
?>

<table width="500" border="0" cellspacing="2" cellpadding="0" align="center">
<?php while($row=mssql_fetch_array($resultset)) { ?>
<?php if($count==0) { ?>
<tr>
<?php } ?>
<td width="100" height="60"><a href="fotos/<?php echo $row[0]; ?>" target="_blank" ><img src="<?php echo $row[0]; ?>" border="0" width="100" height="80"></a></td>
<?php if($count==5) { ?>
</tr>
<?php } ?>
<?php if($count==5) { $count=0; }else{ $count++; }
} ?>
</table>

La idea es poner en el img src la imagen destino o reducida con el

ImageJPEG($dst_img,'',$calidad);

Será posible?...