Ver Mensaje Individual
  #23 (permalink)  
Antiguo 03/12/2007, 17:37
okram
Invitado
 
Mensajes: n/a
Puntos:
Re: Redimencioandor de imagenes externa

Te refieres a este bloque?

Código PHP:
switch($this->info['extension']) {
    case 
'jpg': $this->f1 = "imagecreatefromjpeg"; $this->f2 = "imageJpeg"; $this->type = "jpeg"; break;
    case 
'gif': $this->f1 = "imagecreatefromgif"; $this->f2 = "imageGif"; $this->type = "gif"; break;
    case 
'png': $this->f1 = "imagecreatefrompng"; $this->f2 = "imagePng"; $this->type = "png"; break;
    default: 
$this->info['basename'] = $this->info['basename'].".jpg"; $this->error("El tipo de archivo definido no es válido"); return; break;
} 
Si es eso, se arregla fácilmente añadiendo antes del ese bloque:
Código PHP:
$this->info['extension'] = strtolower($this->info['extension']); 
Si no te referias a eso, te agradeceria comunicarlo

Gracias por el reporte

Un saludo,