[TYPO3-dev] Gifbuilder image quality problem

Bernd Wilke xoonsji02 at sneakemail.com
Tue Feb 28 16:16:58 CET 2006


On Fri, 24 Feb 2006 20:21:31 +0100, Joerg Wagner wrote
with subject "Re: [TYPO3-dev] Gifbuilder image quality problem":

> Actually your background is already transparent but IE does not show 
> transparencies in PNGs, and beside that only those pixels are transparent 
> where no content and no shadow is rendered. In FireFox it already looks much 
> better, but for IE you are still bound to use GIFs if you need transparency.
> 
> To have your shadows blend into the background blue try setting the 
> background color to match your blue background?
> Something like...
> 
>     backColor = #3D65A8
>     transparentBackground = 1
> 
> ...together with [GFX][gdlib_png]=0 should work for IE and other browsers.

IE shows transparency - with a lot of work:

[system = mac]
page.10.marks.LOGO = IMAGE
page.10.marks.LOGO.file = fileadmin/image/logo/logo.png
[useragent = *msie 5* ]
page.10.marks.LOGO = IMAGE
page.10.marks.LOGO.file = fileadmin/image/logo/logo2e.gif
[browser = msie6 ]
page.10.marks.LOGO = HTML
page.10.marks.LOGO.value (
<div id="ie_logo" style="position:relative; height:65px; width:210px;
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='fileadmin/image/logo/logo.png',sizingMethod='scale');"></div>
)
[else]
page.10.marks.LOGO = IMAGE
page.10.marks.LOGO.file = fileadmin/image/logo/logo.png
[end]

you have to use this filter. Then IE handles alpha-transparency correct. 
BUT not IE Version 5  :-(

good luck with all these conditions

Bernd Wilke


-- 
-----------------------------------------------------------
Bernd Wilke               http://www.isis.de/~bwilke/beruf/
Annweilerstr.20                                be.wi at gmx.de
40229 Düsseldorf
0211/229 2800




More information about the TYPO3-dev mailing list