> Hello: > > Maybe someone can help me with this. I'm providing my site the > ability to upload images. But the code I'm using will only display > the images in IE. Firefox and Safari don't show anything. Anyone > have any ideas why? > > // copy original image to thumbnail > imagecopyresampled($thumb, $im, 0, 0, 0, 0, $imgw, $imgh, > ImageSX($im), ImageSY($im)); > header("Content-Type: {$fileType}"); > // Output the image > imagejpeg($thumb,NULL,100); wrong content-type possible. If you send a imagejpeg, then: header("Content-Type: image/jpeg"); -- José Miguel Santibáñez jms@xxxxxxxxx