Solved

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

Posted on 2011-02-18
5
299 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 82

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 82

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 82

Expert Comment

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

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now