Forum Moderators: coopster
I can do the upload using Safari which works fine, download the new image from the site and then re-upload using IE6 and the image turns black.
Anyone seen anything like this?!?
When uploading through Safari (Mac) the $_FILES array shows:
type => image/jpeg
error => 0
size => 28125
but through MSIE6 (Win) I get:
type => image/pjpeg
error => 0
size => 28125
Now, is that an indication that the image itself was created as a 'progressive' JPEG and that creating the image a different way would avoid the problem?
Replaced:
if($_FILES[$this->tagname]['type']!= 'image/jpeg'
with:
if(!preg_match("/image\/p?jpeg/", $_FILES[$this->tagname]['type']) elsewhere in the code.
Some references for anyone following:
[webmasterworld.com...]
;)
[edited by: coopster at 1:30 pm (utc) on Oct. 11, 2005]
[edit reason] removed url per TOS [webmasterworld.com] [/edit]