FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Broken image links in 2.6.1RC2
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Broken image links in 2.6.1RC2 [message #16909 is a reply to message #16908] Fri, 27 February 2004 20:22 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
tgaastra wrote on Fri, 27 February 2004 15:19

It's trying to replace custom images added by myself, as in a image link I added to a customized header.html template, and to a set of forum icons I added in myself with the Add Forum Icons functionality, that happen to be PNGs. I don't have equivalent GIFs for them.


Try changing the IE hack inside lib.js to
function ie_png_hack()
{
        var i = document.images.length - 1;
        while ((img = document.images[i--])) {
                if (img.src.indexOf(".png") > -1 && img.src.indexOf("/images/") > -1 && img.src.indexOf("/theme/") > -1) {
                        img.src = img.src.replace(/\.png$/i, ".gif");
                }
        }
}


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: search dialog hangs on support forum
Next Topic: Only 1 session per user -- Is it a feature ? Should there be a message ?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Sep 29 17:24:22 GMT 2024

Total time taken to generate the page: 0.04959 seconds