Adjust thumbnail resizing to crop images if needed
authorLaury GvR <laury@gaslightmedia.com>
Tue, 7 May 2019 19:46:23 +0000 (15:46 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 7 May 2019 19:46:23 +0000 (15:46 -0400)
functions.php

index fc4a96c..4ea3081 100644 (file)
@@ -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' );