Topic: PNG IE Transparency Issue Pages that link to <a href="https://ozoneasylum.com/backlink?for=27848" title="Pages that link to Topic: PNG IE Transparency Issue" rel="nofollow" >Topic: PNG IE Transparency Issue\

 
Author Thread
WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

IP logged posted posted 04-27-2006 21:15 Edit Quote

I have gotten reports that a PNG image that is being used on a clients website is showing up with a black background instead of alpha transparency on IE6.

We are using the AlphaImageLoader filter to fix the transparency for these images on IE5.5 and greater.

I have IE6 up and running and I do not have the same behavior as reported.

Has anyone run into a similar issue as this and know what might be causing this?

I have not spent enough time with IE to know exactly what might be happenning with it, if it could be user setting or maybe a library issue?

Any ideas?

Dan @ Code Town

HZR
Paranoid (IV) Inmate

From: Cold Sweden
Insane since: Jul 2002

IP logged posted posted 04-27-2006 22:21 Edit Quote

Never heard of it. Can you post the URI?

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

IP logged posted posted 04-28-2006 02:19 Edit Quote

It is not on the web at this point. I will look at putting up a test case using the same images.

Dan @ Code Town

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

IP logged posted posted 04-28-2006 13:05 Edit Quote

I have created a simple test case which is now being reported to be partially black and partially clear. I am going to see what is actually happenning and will get a screen shot and post the test case at some point today.

Dan @ Code Town

INSANEdrive
Bipolar (III) Inmate

From: Therapy Department 117 :Skining and Mods
Insane since: Jan 2005

IP logged posted posted 04-28-2006 13:15 Edit Quote

There is a Reason I asked "will IE 7 See .PNG" in the Internet Explorer 7 - what do you think? Thread

I will say More Once I see the Screen Shot...

-----------------------------------------------------------------
Out of Insanity comes brilliance(Or was it the other way around?)

MiNiature
Bipolar (III) Inmate

From: next to the tree
Insane since: May 2003

IP logged posted posted 04-28-2006 18:20 Edit Quote

I also just recently heard about .png not showing up in IE as well. I really curious to find out if and why.

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

IP logged posted posted 04-28-2006 21:14 Edit Quote

I went to the user and checked and the transparency was actually working correctly.

It was one of the common situations where it was not working and when someone comes to look over your shoulder it is working.

I think it had something to do with cached images.

IE7 should support PNG images with 0-100 values of alpha transparency. There was a comment on IE blog about it a while back. IE5.5+ support PNG images with indexed PNG-8 transparency. IE5.5+ though some javascript and a filter support PNG transparency.

Dan @ Code Town

Sirius
Obsessive-Compulsive (I) Inmate

From: Edmonton
Insane since: Feb 2003

IP logged posted posted 05-18-2006 04:02 Edit Quote

Hi Warmage, I don't know if your are styling with css at the same time, but if it is the case, you have to specify backgroung-image: none for ie, if not it will render something like half the transparency.

code:
/* Use the Tan hack so only IE wont have the background image.  The Tan hack isn't working for IE7 */
/* The space after the "*" is important */
* html #yourSelector{
	background-image: none;
	filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='myimage.png',sizingMethod='scale');



I think that you can put your filter code in the html, so your stylesheet will be standard compliant but keep the background properties...

Hope this help



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu