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

Home » FUDforum » How To » Header Problems - HELP
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Header Problems - HELP [message #22507] Sat, 05 February 2005 14:55 Go to next message
FUDchild is currently offline  FUDchild   United States
Messages: 49
Registered: February 2002
Location: Mulberry, Florida
Karma: 0
Member
I created my own header, then i added a .png file (portable network graphics file. Because when you use png file for smaller images they come out much clearer. My problem is that something is converting it.

The image shows up as .gif file thus keeping my new image from showing up. I don't care much for .gif files they are very poor in graphic quality and would like to use png files. If this is just a quark nobody has ever seen before I will attempt to solve this issue myself. I how ever believe that some how the template builder has decide to not use png files.

Can I fix this and why if this is true would the template builder only allow .gif?

Please someone answer ASAP..

P.s. strange thing is it shows up for a split second and then something changes the out put in the template file to .gif

have a look if ya like http://www.underground51.com


Thanks,
FUDchild

[Updated on: Sat, 05 February 2005 14:58]

Report message to a moderator

Re: Header Problems - HELP [message #22508 is a reply to message #22507] Sat, 05 February 2005 16:16 Go to previous messageGo to next message
naudefj is currently offline  naudefj   South Africa
Messages: 3771
Registered: December 2004
Karma: 28
Senior Member
Administrator
Core Developer
Hi,

Check if the code in "lib.js" is somehow responsible for this:

if (img.src.indexOf(".png") > -1 && img.src.indexOf("/images/") > -1 && img.src.indexOf("/theme/") > -1) {
   img.src = img.src.replace(/\.png$/i, ".gif");
}


Best regards,

Frank
Re: Header Problems - HELP [message #22513 is a reply to message #22508] Sat, 05 February 2005 17:06 Go to previous message
FUDchild is currently offline  FUDchild   United States
Messages: 49
Registered: February 2002
Location: Mulberry, Florida
Karma: 0
Member
naudefj wrote on Sat, 05 February 2005 11:16

Hi,

Check if the code in "lib.js" is somehow responsible for this:

if (img.src.indexOf(".png") > -1 && img.src.indexOf("/images/") > -1 && img.src.indexOf("/theme/") > -1) {
   img.src = img.src.replace(/\.png$/i, ".gif");
}


Best regards,

Frank


Thanks so much... hey have a look now and tell me what ya think of my new theme so far.. http://www.underground51.com

Any ideas or input would be greatly appreciated..

I added some things...

Thanks so much Frank...

[Updated on: Sat, 05 February 2005 17:06]

Report message to a moderator

  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to manually confirm 'unconfirmed' user?
Next Topic: Is it possible...
Goto Forum:
  

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

Current Time: Fri Nov 01 11:28:01 GMT 2024

Total time taken to generate the page: 0.02261 seconds