Image viewable in firefox & safari but not explorer using cgi code

For the page below. The image of the color key is not viewable in Explorer. I am using this code

print "<p>&nbsp;</p>\n";
print "<img vspace=10 width=400 height=220 src=/vmap/images/key.jpg>\n";
print "<h2>For an explanation of the SO<sub>2</sub> color scale, click <a href=http://hiso2index.info/assets/FinalSO2Exposurelevels.pdf>here</a>. 

Open in new window


http://weather.hawaii.edu/vmap/hysplit/
libertyforall2Asked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
So convert it to a JPG.
0
 
Dave BaldwinFixer of ProblemsCommented:
That's because 'key.jpg' is really a BMP and IE doesn't like that you're trying to fool it.  Convert it to a JPG and it will work fine.
0
 
libertyforall2Author Commented:
Well, it doesn't work as a .bmp file either.
0
 
libertyforall2Author Commented:
works
0
 
Dave BaldwinFixer of ProblemsCommented:
Cool, thanks for the points.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.