IE7 changes image MIME type
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/library/ms775147(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.Noel1 person needs an answerI do too
November 28th, 2009 7:16pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics