PNG transparency / Iexplorer PNG transparency / Iexplorer
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

PNG transparency / Iexplorer

Started by mp3k, January 11, 2005, 08:33:53 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

mp3k

Ok this is my problem. I modded a hardwired theme ( colors and images and so on ) just to fit my familys private gallery. I'm a n00b with php/html. I know there are some hacks ( .js .css .php ) to fix the IE png transparency bug but I'm not sure what file to edit to get it work correctly , template.html? index.php ??

I hope you understand what I mean... heres a pic...

(https://coppermine-gallery.com/forum/proxy.php?request=http%3A%2F%2Fkoti.mbnet.fi%2Fmp3k%2Fiesukas.jpg&hash=489f2c3184aa5aa9aab59145b2d932ee0704fc57)

Joachim Müller

there's no fix, as IE simply doesn't fully support transparent PNGs. As a workaround, you could set the transparent color of the png to be the same color your site's background has (that's the usual "fix") - not related to coppermine though.

Joachim

kegobeer

There is an excellent png fix for IE that doesn't mess up any other browser.

http://www.koivi.com/ie-png-transparency/

It's very easy to implement, just a matter of adding an ob_start(), include_once 'replacePngTags.php'; and echo replacePngTags(ob_get_clean());

Follow the directions on the site.  If you have issues placing the above code tags, post in this thread and I'll help you thru it.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

mp3k

Thanks for your quick answers! I downloaded the .zip from that site and now replacePngTags.php file is in my www folder. I just need to know where to add those few lines of code =)  this is how the png is set < td width="778" height="207" valign="middle" align="right" background="themes/hardwired/images/hw_088.png" > ( template.html )