Yeah I checked that but it does not fix anything. Still can't get the thing to work. Any other ideas? thanks! --- In php-objects@xxxxxxxxxxxxxxx, José Miguel Santibáñez A. <jms@...> wrote: > > > > 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@... >