vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Template : .gif files to .png files? (https://vborg.vbsupport.ru/showthread.php?t=220471)

Ldoppea 08-08-2009 08:45 PM

Template : .gif files to .png files?
 
Hi,

The actual vBulletin templates use many .gif files which I want to customize.

Usually, to customize an image you have to replace this file (ex : image/buttons/addpoll.gif) with another.

But, the file I want to customize is a gif file, and the new is a png file (I tried to convert it but the result is very ugly :( ).

So, must I replace the ".gif" extension with ".png" every where in all the templates? Is there an easier solution?

PS : One file I want to replace is "image/misc/menu_open.gif" but I don't know where it is defined in the code? It seems to be defined in the javascript, but where?

HMBeaty 08-08-2009 08:52 PM

Not really easy, nor quick, you would have to go in and manually update the templates to show the png files

Lynne 08-08-2009 08:56 PM

Instead of converting the file, have you tried simply replacing the png extension with gif? That will usually work.

HMBeaty 08-08-2009 08:59 PM

Quote:

Originally Posted by Lynne (Post 1863752)
Instead of converting the file, have you tried simply replacing the png extension with gif? That will usually work.

I THINK thats what he meant here but I might be wrong. I know some png's when converted to gif's lose alot of their quality

Quote:

Originally Posted by Ldoppea (Post 1863740)
But, the file I want to customize is a gif file, and the new is a png file (I tried to convert it but the result is very ugly :( ).


Lynne 08-08-2009 09:06 PM

Quote:

Originally Posted by Redlinemotorsports (Post 1863755)
I THINK thats what he meant here but I might be wrong. I know some png's when converted to gif's lose alot of their quality

Could be, but when I see the word 'convert', I think they actually use a program to change the file, not simply change the extension.

Ldoppea 08-08-2009 10:36 PM

Quote:

Originally Posted by Lynne (Post 1863752)
Instead of converting the file, have you tried simply replacing the png extension with gif? That will usually work.

Uhhhh.... It's so easy https://vborg.vbsupport.ru/external/2009/08/25.gif

That will be very useful in the future !

Thanks very very very much :).

kholusoft 08-12-2009 01:53 PM

"simply replacing the png extension with gif?"
I think in IE browser that will not work

Marco van Herwaarden 08-12-2009 02:06 PM

Did you try?

Ohiosweetheart 08-14-2009 07:05 PM

You can always use replacement variables. ;)

Shelley_c 08-16-2009 02:42 AM

Quote:

Originally Posted by Ohiosweetheart (Post 1867468)
You can always use replacement variables. ;)

El Bingo. I was going to suggest this a while back but got distracted and never replied back.


All times are GMT. The time now is 05:49 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01856 seconds
  • Memory Usage 1,728KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete