wordpress the_post_thumbnail if/else if
Seems else/if don't work with my code:

    <?php if ( is_page_template('home-page.php') ) {
					    the_post_thumbnail( array(212,212) ); 
				    } else if ( is_page_template('works-2-columns-isotope-page.php') ) {
				    	the_post_thumbnail( array(492,492) );
				    } else {
					the_post_thumbnail( array(192,192) );
				    } ?>

Actually else if statement doesn/t work, strange. Works well for home-page.php and else statement. Any help please?
wordpress the_post_thumbnail if/else if
===

Seems else/if don't work with my code:

    <?php if ( is_page_template('home-page.php') ) {
					    the_post_thumbnail( array(212,212) ); 
				    } else if ( is_page_template('works-2-columns-isotope-page.php') ) {
				    	the_post_thumbnail( array(492,492) );
				    } else {
					the_post_thumbnail( array(192,192) );
				    } ?>

Actually else if statement doesn/t work, strange. Works well for home-page.php and else statement. Any help please?