[Chameleon] ROI missing in IE 6

Yahya Mohammad yahya at atc-me.com
Thu Oct 19 04:11:20 EDT 2006


Hi Paul,

Thanks for the reply.

I couldn't figure out the problem yet, but found a workaround. 
When I changed the image mime type to image/gif in ROIRenderer.php IE shows 
the correct transparency. I don't know why though, I thought gif didn't 
support alpha transparency. But then it didn't work in Firefox, so I added 
some browser detection code to make it work right in both browsers. It's 
pretty ugly but it'll have to do until I can fix the real problem :)

Regards,
Yahya

> Yahya,
>
> the approach you have taken seems like the one I would have suggested.
>
> I'm not sure why it doesn't show up in IE.  It could be a
> transparency issue or perhaps a timing issue, which can be tricky to
> debug and work around.  I don't have a lot of advice for you at this
> point.  Sorry.
>
> Cheers
>
> Paul
>
> On 16-Oct-06, at 3:41 AM, Yahya Mohammad wrote:
> > Hi list,
> > I need to make chameleon to show an ROI on first load. I tried to
> > do this by
> > setting values in $_SESSION['ROIRENDERER']. This works perfectly in
> > Firefox,
> > but not in IE.
> > I found the ROI url
> > (http://localhost/chameleon//widgets/ROIManager/ROIRenderer.php?
> > sid=45332b74dec64&blah=0.33435844428703165&width=512&height=384&mode=0
> > )
> > and accessed it in a separate IE window and it showed an invisible
> > transparent image.
> > But once I draw another ROI in the chameleon window and reload the
> > renderer
> > URL, the ROI image shows up completely opaque. It looks like a
> > transparency
> > filter is not being set somewhere but I can't find figure out how
> > to set it
> > up. Thanks very much for any help.
> >
> > Regards,
> > --
> > Yahya Mohammad
> > _______________________________________________
> > Chameleon mailing list
> > Chameleon at lists.maptools.org
> > http://lists.maptools.org/mailman/listinfo/chameleon
>
> +-----------------------------------------------------------------+
>
> |Paul Spencer                          pspencer at dmsolutions.ca    |
>
> +-----------------------------------------------------------------+
>
> |Chief Technology Officer                                         |
> |DM Solutions Group Inc                http://www.dmsolutions.ca/ |
>
> +-----------------------------------------------------------------+

-- 
Yahya Mohammad
Advanced Technologies ME FZ LLC
[http://www.advtechme.com]


More information about the Chameleon mailing list