Solved

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

Posted on 2011-02-18
5
310 Views
Last Modified: 2013-12-25
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/
0
Comment
Question by:libertyforall2
  • 3
  • 2
5 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34930787
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
 

Author Comment

by:libertyforall2
ID: 34930855
Well, it doesn't work as a .bmp file either.
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 34930897
So convert it to a JPG.
0
 

Author Closing Comment

by:libertyforall2
ID: 34931087
works
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 34931118
Cool, thanks for the points.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question