News:

Wondering if this will always be free?  See why free is better.

Main Menu

on.png off.png to gif

Started by eclipse74569, February 12, 2017, 09:20:20 PM

Previous topic - Next topic

eclipse74569

Ok, I've searched everywhere, and I can't find any line for these images.  Basically I want to change them to a gif file intstead of the PNG.  Is this possible???

Thanks!!!

Sir Osis of Liver

BoardIndex.template.php -



<img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'on', $board['new'] ? '' : '2', '.png" alt="', $txt['new_posts'], '" title="', $txt['new_posts'], '" />';
// Is it a redirection board?
elseif ($board['is_redirect'])
echo '
<img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'redirect.png" alt="*" title="*" />';
// No new posts at all! The agony!!
else
echo '
<img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'off.png" alt="', $txt['old_posts'], '" title="', $txt['old_posts'], '" />';


Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

eclipse74569

Next question:  would i have to copy it to the theme in question's folder, as it didn't come with an boardindex.theme.php?  I've done a lot of searching for this very topic lol

Kindred

Yes... unless a template is edited, themes do not generally include them, and duse the default theme versions of the files.

However, why would you change the files to gifs? Everyone is trying to get away from gifs and use pngs, these days
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

eclipse74569

To be honest, there are animations I'd like to keep.  Not sure if you've heard of BC-Central, but I run that forum, and it used to use 1.1.2, but I'm upgrading to 2.0...despite the fact I accidentally deleted the database without backing it up properly :S

Advertisement: