...

View Full Version : Transparent image issue



brazenskies
11-10-2008, 08:58 PM
I am having some problems with image transparency in IE...

You can see my problem in the attached image.

Any suggestions of how I can fix this?

I've had a google around about transparency and IE but the image I create IS transparent, but just loses quality!

brazenskies
11-10-2008, 09:01 PM
IE 6 only I think

BoldUlysses
11-10-2008, 09:01 PM
Link to page? What version of IE? What's the image format (GIF, PNG-8 or PNG-24)?

BoldUlysses
11-10-2008, 09:03 PM
If it's a PNG, here's an IE6 fix (http://24ways.org/2007/supersleight-transparent-png-in-ie6).

brazenskies
11-10-2008, 09:04 PM
sorry, it's png8

I cant link to the page as it's password protected, although if you want to take the 30 seconds to login it it would be appreciated

brazenskies
11-10-2008, 09:06 PM
If it's a PNG, here's an IE6 fix (http://24ways.org/2007/supersleight-transparent-png-in-ie6).

That was somtrhing I tried in the past, but my images are actually showing transparency fine, just losing the quality.

I'll take a closer look at it again

Apostropartheid
11-10-2008, 09:08 PM
IE6 cannot render alpha transparency, only index. Because of this, an images which have pixels with an opacity value between 0 and 1 exclusive, the pixel will display fully transparent and you will get this 'jagged' effect. Have you considered not using transparency or just leaving this 'low-fi' experience in place?

brazenskies
11-10-2008, 09:10 PM
I need the transparency as my script loops through some db values and prints out the images for each record, and the background fades as you go down the page.

I'll have a think and reconsider.

Thanks



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum