Just started using sage, and I’m perplexed about the fact that wp custom image resizing doesn’t seem to work (I’ve used this extensively in the past on non-roots/sage sites).
my code is:
if (function_exists('add_theme_support')) {
add_theme_support('post-thumbnails');
add_image_size( 'medmed', 300 ); // 300 pixels wide (and unlimited height)
add_image_size( 'homepage-thumb', 220, 180, true ); // (cropped)
}
which is added to my extras.php file.
The cropped/sized files that should be getting generated on upload or via the “force regenerate thumbnails” plugin are simply… not. I’m only seeing the originally uploaded files.
It’s like the resizer’s just not getting invoked for some reason when using sage.
Ideas?
EDIT. Derp. looks like GD isn’t running on the dev box. Reckon that’s it. Mea culpa.