Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

PNG Incompatibility with IE :S


cool as ice

Recommended Posts

First, sorry for my english.

 

Well, I have a problem, because I replace all the .gif by .png and then I saw that the fuc..ing IE isn't compatible with png transparency. Someone knows how can I fix it ?????

 

 

Thank you very much!!!

Link to comment
Share on other sites

First, sorry for my english.

 

Well, I have a problem, because I replace all the .gif by .png and then I saw that the fuc..ing IE isn't compatible with png transparency. Someone knows how can I fix it ?????

Thank you very much!!!

I can't think of any way to fix this except to re-replace your .png with .gif files, or just deal with IE having that problem...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

How often do you really need a transparency anyway? Just match the background and for the ones you really need, replace the gif.

I use transparencies all over the place, just to mess with peoples' heads... I put 100% transparent porn pictures and obscenities all over the site, and like to think I'm having a subliminal effect on the viewer... Ok, j/k... :D

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

How often do you really need a transparency anyway? Just match the background and for the ones you really need, replace the gif.

 

I have transparencys all over the site... I know there's a fix to this problem...

 

I've fix to my index because is an html but if I put that code into the php doesn's work... :'(

 

 

If someone know how to fix it without change all de png for gif please tell me...

 

Thank you!!!

Link to comment
Share on other sites

I have transparencys all over the site... I know there's a fix to this problem...

 

I've fix to my index because is an html but if I put that code into the php doesn's work... :'(

If someone know how to fix it without change all de png for gif please tell me...

 

Thank you!!!

This is what you said in your original post:

 

and then I saw that the fuc..ing IE isn't compatible with png transparency

Now, I don't know what issue you're referring to with IE's incompatibility with png transparency, but it's only because I haven't run across an article on it or anything, because I've never had reason to go look it up... I'm assuming you read something somewhere that said some version of IE doesn't handle transparent areas of png files, perhaps renderring them as white in the transparent areas or something... I don't know one way or the other... However, if this is an IE issue, then your comment about "I know there's a fix to this problem" would only be correct if Microsoft released some fix for that version of IE that did handle transparent png files properly... Otherwise, there's nothing that osc can do to make IE correctly display them, it's a browser issue, not an oscommerce issue... I mean, in theory, you could set a filter in tep_image to catch any .png files that came through, and use the gd library to read them into a new image resource and write them out with a gif header, but this would be overkill when you could just replace the files to begin with, plus it would depend on what version of the gd library you were running, as the imagegif function was removed at one point due to copyright issues on the gif format...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

That Jan '07 Microsoft article is rather confusing. In one place it says it applies to IE 4 or later and in another place it says it just applies to IE 4 and 5. Anyone know the truth of the matter?

Link to comment
Share on other sites

That Jan '07 Microsoft article is rather confusing. In one place it says it applies to IE 4 or later and in another place it says it just applies to IE 4 and 5. Anyone know the truth of the matter?

 

 

I saw many articles about it, IE 7 supports transparency of PNG, but all the other IE doesn´t.

 

I really don´t know yeat the solution for PHP, yes I know how to fix in HTML.

 

:'(

Link to comment
Share on other sites

That Jan '07 Microsoft article is rather confusing. In one place it says it applies to IE 4 or later and in another place it says it just applies to IE 4 and 5. Anyone know the truth of the matter?

Not sure myself, I got out of it that it only applied to IE 4/5, which I thought was kind of odd, because I would imagine most users are running IE 6 these days, if not 7... However, the only way to really test it would be to check some pngs out in IE6/7 and see if they work or not...

 

Richard.

Richard Lindsey

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...