forum.coppermine-gallery.net
Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: mp3k on January 11, 2005, 08:33:53 pm
-
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://forum.coppermine-gallery.net/proxy.php?request=http%3A%2F%2Fkoti.mbnet.fi%2Fmp3k%2Fiesukas.jpg&hash=489f2c3184aa5aa9aab59145b2d932ee0704fc57)
-
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
-
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.
-
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 )