Ver Mensaje Individual
  #24 (permalink)  
Antiguo 03/12/2007, 17:48
Avatar de kaninox
kaninox
 
Fecha de Ingreso: septiembre-2005
Ubicación: In my House
Mensajes: 3.597
Antigüedad: 21 años
Puntos: 49
Re: Redimencioandor de imagenes externa

pues probando si me parece que es en ese bloque la idea seria ver los dos casos minusculas y mayusculas :)

y tal veo habria que agregar

Código PHP:
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;

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; 
espero estar en lo cierto

edito no habia visto que ya habias puesto la solucion :P hasta que vi el blog

$this->info['extension'] = strtolower($this->info['extension']);

saludos :D va de maravilla
__________________
Gokuh Salvo al mundo. PUNTO!!!!

Última edición por kaninox; 03/12/2007 a las 18:03