Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

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/
0
libertyforall2
Asked:
libertyforall2
  • 3
  • 2
1 Solution
 
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
 
Dave BaldwinFixer of ProblemsCommented:
So convert it to a JPG.
0
 
libertyforall2Author Commented:
works
0
 
Dave BaldwinFixer of ProblemsCommented:
Cool, thanks for the points.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now