RegisterImageSizes

GitHub

Adding Image Sizes

Bootstrap.php (Github)

To add an image size, simply add an array to the $custom_image_sizes array in Bootstrap.php. This array accepts the same parameters as add_image_size()(WP Codex)

$custom_image_sizes = array(
array(
'name' => 'WPDD_1920', // string
'width' => 1920, // int
'height' => 1080, // int
'crop' => true, // bool|array
),
array(
'name' => 'WPDD_1680', // string
'width' => 1680, // int
'height' => 1050, // int
'crop' => true, // bool|array
),
);