[ka-Map-users] Legend is not visible in IE

Dylan Beaudette dylan.beaudette at gmail.com
Tue Oct 24 20:45:31 EDT 2006


Thanks Paul: replines in-line.

On Tuesday 24 October 2006 17:06, Paul Spencer wrote:
> I see that it doesn't appear with IE 7.  However, using the dom
> explorer tool, you can see that the image is actually in the page and
> has the following url:
>
> http://casoilresource.lawr.ucdavis.edu/ka-map-1.0.b1-20060817/htdocs/?
> map=casoil
>
> This image does load in IE 7 if loaded directly, not sure about IE6

I can confirm that it did not load in IE6. 

> One possibility is that you are using PNG24 and it is not displaying
> properly.

My mapfile is using JPEG

> Another possibility is that legend.php outputs a content-type: image/
> png without checking to see what image format you are actually using,
> so perhaps IE is getting confused.  If you are using GIF or JPEG, try
> modifying legend.php last line and see if it helps (if yes, I'll
> commit a change to fix the legend output code)

made the change to:
header( 'Content-type: image/jpeg' );

here is the link:
http://casoilresource.lawr.ucdavis.edu/ka-map-1.0.b1-20060817/htdocs/

> Cheers
>
> Paul
>
> On 24-Oct-06, at 4:06 PM, Dylan Beaudette wrote:
> > http://casoilresource.lawr.ucdavis.edu/ka-map-1.0.b1-20060817/
> > htdocs/?map=casoil
>
> +-----------------------------------------------------------------+
>
> |Paul Spencer                          pspencer at dmsolutions.ca    |
>
> +-----------------------------------------------------------------+
>
> |Chief Technology Officer                                         |
> |DM Solutions Group Inc                http://www.dmsolutions.ca/ |
>
> +-----------------------------------------------------------------+

-- 
Dylan Beaudette
Soils and Biogeochemistry Graduate Group
University of California at Davis
530.754.7341


More information about the ka-Map-users mailing list