Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/11/2004, 20:41
DMR
 
Fecha de Ingreso: noviembre-2003
Mensajes: 105
Antigüedad: 20 años, 5 meses
Puntos: 0
Pregunta Por favor ayuda. Es un problema muy tonto pero no se que ocurre (ya que esta todo ok)

que falla aqui:

$f = opendir("../caras");
while($fichero=readdir($f)) {
if ((!($fichero==".")) and (!($fichero=="..")) and (!($fichero=="Thumbs.db")) and (!($fichero=="gdla.php"))) {
echo "Se va a generar el thumb: ./".$fichero."<br>";
echo '<img src="'.$fichero.'".jpg">';
thumbjpeg($fichero, 125);
echo '<img src="tn_'.$fichero.'".jpg">';
}
}
}
closedir($f);


ESO DEVUELVE BIEN LOS NOMBRES DE LAS IMAGENES.


Y SI LLAMO A thumbjpeg("../caras/03_february.jpg", 200); la thumb se hace perfectamente...

Pero si hago el bucle (para que me redimensione todas las imagenes) no carga nada en el navegador (se ve una pagina como about:blank).

No se que coño es...