Ver Mensaje Individual
  #11 (permalink)  
Antiguo 10/04/2008, 14:24
Avatar de pateketrueke
pateketrueke
Modernizr
 
Fecha de Ingreso: abril-2008
Ubicación: Mexihco-Tenochtitlan
Mensajes: 26.399
Antigüedad: 16 años, 10 meses
Puntos: 2534
Re: PhpImagen.lib ayuda con mensaje de error

Código PHP:
function error($img) {
        
$info getimagesize($img);

        
$this->rw $info[0];
        
$this->rh $info[0];

        
$this->source = @imagecreatefromjpeg ($img); // suponiendo ke es JPEG/JPG
        
$this->error true;
        return 
true;
    } 

intenta reemplazando la funcion error() con esto.... dime, sino... me mato :(