Page 1 of 1

Image Type problem while uploading image

Posted: Wed Jan 23, 2008 3:51 am
by vinoth
Hi all.
I am try to upload the jpeg,Gif,Png images.
Its not uploading on IE7.

I check the following conditions while uploading
image type = image/jpeg or image/gif or image/png;

But in IE7 if i print the image details It returns image/pjpeg for jpeg files & image/x-png for png files.
What is the difference between jpeg/pjpeg nad png/x-png.

Provide your suggestions to resolve the problem.

Thanks in advance.

Re: Image Type problem while uploading image

Posted: Wed Jan 23, 2008 12:23 pm
by Christopher
They are the same. IE returns those MIME types instead of the standard ones. You will need to check for both.