From: Laury GvR Date: Tue, 7 May 2019 19:46:23 +0000 (-0400) Subject: Adjust thumbnail resizing to crop images if needed X-Git-Tag: v1.0.49^2 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=abc4a95c0606bd377262c43f5368a2772e818cba;p=WP-Themes%2Fmackinawferry.git Adjust thumbnail resizing to crop images if needed --- diff --git a/functions.php b/functions.php index fc4a96c..4ea3081 100644 --- a/functions.php +++ b/functions.php @@ -144,7 +144,7 @@ add_action('init', 'mytheme_init', 10); function wpse_setup_theme() { add_image_size('glm-block-image', 290, 190,true); - add_image_size('dropdown-thumbnail', 200, 100 ); + add_image_size('dropdown-thumbnail', 200, 100, true ); } add_action( 'after_setup_theme', 'wpse_setup_theme' );