Save Image Saves With Incorrect Format

  • Thread starter Thread starter C B
  • Start date Start date
C

C B

Hello,

I have tried the suggestions about clearing the Internet Cache, making
sure you have enough room in your cache, and verifying the registry
settings for the image file types. This works for most of the time,
but there is one setting that seems to screw things up.

If our users have the option of "Hide Extensions for Known File Types"
turned on, the image is always saved as a .gif. No matter what is
selected in the file type drop down list. If the "Hide Extensions for
Known File Types" is turned off, everything works great! Now, this
wouldn't be a problem, except that the image is a JPG so it doesn't
work.

The system that I am testing the problem on is using Windows XP and IE
6.0.2800

If anyone has any tips or suggestions, they would be MUCH appreciated.
Thank you!
 
C B said:
Hello,

I have tried the suggestions about clearing the Internet Cache, making
sure you have enough room in your cache, and verifying the registry
settings for the image file types. This works for most of the time,
but there is one setting that seems to screw things up.

If our users have the option of "Hide Extensions for Known File Types"
turned on, the image is always saved as a .gif. No matter what is
selected in the file type drop down list. If the "Hide Extensions for
Known File Types" is turned off, everything works great! Now, this
wouldn't be a problem, except that the image is a JPG so it doesn't
work.

The system that I am testing the problem on is using Windows XP and IE
6.0.2800

If anyone has any tips or suggestions, they would be MUCH appreciated.
Thank you!

See http://www.oehelp.com/noimg.aspx
and
http://insideoe.tomsterdam.com/problems/bugs.htm#nopreview

--
Frank Saunders, MS-MVP IE/OE
http://www.fjsmjs.com
Reply to Newsgroup. I won't answer email
Protect Your PC
http://www.microsoft.com/security/protect/
 
Thanks for the information! I finally found a solution.

I created an intermediary ASP page that makes the call to receive the
message. This page makes the call using XMLHTTP. Once the data is
received, the code changes the content type of page to image/jpeg, and
then uses BinaryWrite to return the image.

This seems to work when XP is set to hide known file extensions, and
when XP is set to display known file extensions.
 
Back
Top