Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: HendriXXX on January 27, 2020, 06:03:57 AM

Title: [2.1] Theme preview missing in default theme after language change
Post by: HendriXXX on January 27, 2020, 06:03:57 AM
Hi!

I noticed that default theme preview, (user settings: Look & layout > Current theme), is missing when swithing language to Finnish.
In english preview thumbnail is shown like it should.

This issue is present when using RC2 and latest github version also..

I didn't find that file where that's configured.. can anybody help?

Thanks!  :)
Title: Re: Theme preview missing in default theme after language change
Post by: HendriXXX on January 27, 2020, 06:35:15 AM
I found the reason.

I edited Settings.finnish.php by changing .gif to .png and now it works..  8)

from
$txt['theme_thumbnail_href'] = $settings['images_url'] . '/thumbnail.gif';

to
$txt['theme_thumbnail_href'] = $settings['images_url'] . '/thumbnail.png';


Title: Re: Theme preview missing in default theme after language change
Post by: shawnb61 on January 27, 2020, 12:08:36 PM
Thanks for this.  Helpful.  We should probably check all of the language files for 2.1.