List Info

Thread: IE 6 gif transparency problem




IE 6 gif transparency problem
user name
2008-04-08 02:38:19
Preview Images in Plone are linked as: 

src="filename.gif/image_preview" 

The transparent color in "filename.gif" is not displayed transparent but grey in IE 6. The reason seams to be the missing suffix in the image name. IE doasn't seach for a transpareny in images without a ".gif" ending. 
Is there a fix for that behavior. It would be nice when Plone could work with something like: ;

src="filename.gif/image_preview.gif" ;
Re: IE 6 gif transparency problem
user name
2008-04-08 03:29:21
Hi,

Not sure if this is relevant in this situation, but we've
forced
transparency on .png images in IE 6 with this CSS:

.myclass {
      background: none;
      filter:progidXImageTr
ansform.Microsoft.AlphaImageLoader(sizingMethod=scale,
src='http://www.mysite.c
om/myimage.png');
}

Just mentioning it in case it helps. Not sure if it would
work for
GIFs or not to be honest.

Cheers,
David



On 08/04/2008, Sven Passig <svenpassig.net> wrote:
>
> Preview Images in Plone are linked as:
>
> src="filename.gif/image_preview"
>
> The transparent color in "filename.gif" is
not displayed transparent but
> grey in IE 6. The reason seams to be the missing suffix
in the image name.
> IE doasn't seach for a transpareny in images without a
".gif" ending.
> Is there a fix for that behavior. It would be nice when
Plone could work
> with something like:
>
> src="filename.gif/image_preview.gif"
> _______________________________________________
>  UI mailing list
>  UIlists.plone.org
>  http://lis
ts.plone.org/mailman/listinfo/ui
>
>


-- 
David Little

-e: davidlittled.net
-w: www.littled.net

_______________________________________________
UI mailing list
UIlists.plone.org
http://lis
ts.plone.org/mailman/listinfo/ui

Re: IE 6 gif transparency problem
country flaguser name
Italy
2008-04-08 08:44:32
David Little wrote:
> .myclass {
>       background: none;
>      
filter:progidXImageTr
ansform.Microsoft.AlphaImageLoader(sizingMethod=scale,
> src='http://www.mysite.c
om/myimage.png');
> }

Don't use the sizingMethod=scale, though, because that will
shrink/stretch
the image (non-proportionally) to the dimension of the
image.
Check out this:
htt
p://msdn2.microsoft.com/en-us/library/ms532920(VS.85).as
px

-- 
Simone Deponti (shywolf9982)


_______________________________________________
UI mailing list
UIlists.plone.org
http://lis
ts.plone.org/mailman/listinfo/ui

Re: Re: IE 6 gif transparency problem
user name
2008-04-08 09:12:53
On 08/04/2008, Simone Deponti <shywolf9982gmail.com> wrote:
> Don't use the sizingMethod=scale, though, because that
will shrink/stretch
>  the image (non-proportionally) to the dimension of the
image.
>  Check out this:
>  htt
p://msdn2.microsoft.com/en-us/library/ms532920(VS.85).as
px

Ah, that's interesting -- didn't know what "scale"
was for, but that
makes sense. We've just used it for semi-transparent
overlays placed
over images (e.g. http://www.bbk.ac.uk/). In
this case we did want to
stretch the image which is probably why it's there (think we
just
copied it from a CSS book!).

Cheers,
David

_______________________________________________
UI mailing list
UIlists.plone.org
http://lis
ts.plone.org/mailman/listinfo/ui

Re: IE 6 gif transparency problem
country flaguser name
United States
2008-04-08 19:37:07
On Tue, 08 Apr 2008 00:38:19 -0700, Sven Passig  
<svenpassig.net> wrote:

> Preview Images in Plone are linked as:
>
> src="filename.gif/image_preview"
>
> The transparent color in "filename.gif" is
not displayed transparent
> but grey in IE 6.

There was a bug in the setup that caused PIL not to preserve
transparency  
when rescaling images. This has since been fixed. I'm pretty
sure it has  
nothing to do with the extension — but of course I could
be wrong. 

-- 
Alexander Limi · http://limi.net


_______________________________________________
UI mailing list
UIlists.plone.org
http://lis
ts.plone.org/mailman/listinfo/ui

Re: Re: IE 6 gif transparency problem
country flaguser name
Germany
2008-04-09 02:58:27
Hi Alexander,


> There was a bug in the setup that caused PIL not to
preserve  
> transparency when rescaling images. This has since been
fixed. I'm  
> pretty sure it has nothing to do with the extension —
but of course  
> I could be wrong. 

Firefox and Safari had no problems with the rescaled
images.

But thanks to your hint I figured out the real case of the
problem.  
PIL seams to convert GIF images into PNG images. When I
download a  
preview version of my image the image editor of my choice
told me,  
that it's a png image but the original file is a GIF (in
original size  
it looks good in IE).

I search a little bit in the plone documentation but can't
figure out  
where I can change that behavior.
By the way, I use the Plone 3.0.6

thanks a lot

Sven


_______________________________________________
UI mailing list
UIlists.plone.org
http://lis
ts.plone.org/mailman/listinfo/ui

Re: Re: IE 6 gif transparency problem
country flaguser name
United States
2008-04-10 13:49:22
On Wed, 09 Apr 2008 00:58:27 -0700, Sven Passig  
<svenpassig.net> wrote:

> I search a little bit in the plone documentation but
can't figure out  
> where I can change that behavior.
> By the way, I use the Plone 3.0.6

The PIL documentation is probably where you have to look. I
have no  
knowledge about this personally, but saw some changes to
Plone flying by  
in the commit logs. 

-- 
Alexander Limi · http://limi.net


_______________________________________________
UI mailing list
UIlists.plone.org
http://lis
ts.plone.org/mailman/listinfo/ui

[1-7]

about | contact  Other archives ( Real Estate discussion Medical topics )