Icy Phoenix

     
 


Post new topic  Reply to topic 
Page 1 of 1
 
 
Reply with quote Download Post 
Post How Can I Use .png Buttons.....? 
 
Well, I have a problem. I download a pack of buttons, and I can't use them because they're in .png. The template only permits .gif icons.

The icons that I'm talking are this type of icons (new topic, post posted, etc):

http://www.icyphoenix.com/templates...um_nor_read.gif
etc

Note: Examples of this forum theme.

_____

I think that I need to edit a file of Icy Phoenix, but I don't know what archive!:S Anybody knows anything?

Thanks for ready this
 



 
SarkenSend private message  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: How Can I Use .png Buttons.....? 
 
The button ext is controlled in the theme.cfg - But in this case I suggest it may be easier to simply re-name the buttons from .png to .gif.


 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Use .png Buttons.....? 
 
Thanks for reply.

I changed the extension to .gif, but in the theme it looks really pixelated (transparency problems :S) neverthless, in another type of icons we could use .png image and we compare the result of the .png vs the .gif image and the result was:

.gif image: pixelated
.png image: not pixelated

I don't know the reason of this :S
 



 
SarkenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Use .png Buttons.....? 
 
Try this:

/templates/mg_themes/mg_themes.cfg

Code: [Download] [Hide] [Select]
Find:


if( ($color == 'p_black') || ($color == 'p_blue') )
{
    $buttons_extension = 'png';
    $extra_padding = '" style="margin-bottom:2px;';
}
else
{
    $buttons_extension = 'gif';
}

After Add:

if( ($color == 'ice') )
{
    $buttons_extension = 'png';
}
else
{
    $buttons_extension = 'gif';
}


Edit: I only assume that you are using "ice" theme, if not change the 'ice' to whatever theme you're using.
 
 
 
Back to topPage bottom
Reply with quote Download Post 
Post Re: How Can I Use .png Buttons.....? 
 
Lopalong wrote: [View Post]
Try this:

/templates/mg_themes/mg_themes.cfg

Code: [Download] [Hide] [Select]
Find:


if( ($color == 'p_black') || ($color == 'p_blue') )
{
    $buttons_extension = 'png';
    $extra_padding = '" style="margin-bottom:2px;';
}
else
{
    $buttons_extension = 'gif';
}

After Add:

if( ($color == 'ice') )
{
    $buttons_extension = 'png';
}
else
{
    $buttons_extension = 'gif';
}


Edit: I only assume that you are using "ice" theme, if not change the 'ice' to whatever theme you're using.


It works! Thanks Lopalong, you are a crack
 



 
SarkenSend private message  
Back to topPage bottom
Post new topic  Reply to topic  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events


  

 

  cron