Template preview button isn't working (v. 2.94)

If you use template images (Administration -> Catalog Setup -> Template Images = Yes), and your server requires files to be case sensitive, the preview button may not show the correct template.

To correct this, open the template.php file in the /storeadmin/ folder, and change the following code (around line 149) from:

$thm_name

to:

$thm_name