Trying to upload a PNG or JPG image to a website fails. IE7 has changed the
MIME types from image/jpeg to image/pjpeg and image/png to image/x-png,
neither of which is accepted by the site.
(a) Why does IE do this?
(b) Can I stop it from doing this?
I read at
http://msdn.microsoft.com/en-us/libr...47(VS.85).aspx
When uploading files from the client to the Web server, Windows Internet
Explorer uses FindMimeFromData to determine a MIME type. Where possible,
FindMimeFromData returns hard-coded values from the list of Known MIME Types
rather than relying on the MIME type value associated with the file extension
in the system registry. In some cases, the detected MIME type can differ from
the generally accepted value for backwards compatibility, as shown in the
following table:
Standard MIME Type FindMimeFromData Returns
image/jpeg image/pjpeg
image/png image/x-png
but I'm none the wiser.
--
Noel
[Also posted at answers.live.com - just to compare the performance of the
two sites]