Solved

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

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

867 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

15 Experts available now in Live!

Get 1:1 Help Now