This is searchable archive of our old support forums, which operated from 2012 - 2016. To find out how to get support for your current theme, please visit our support page.

Reply To: image crop sizes

#2975
Jason Bobich
Keymaster

If you’re just adding a new image size, realistically you don’t need to do anything with the framework. You’d just use WordPress’s add_image_size function from your Child theme:

http://codex.wordpress.org/Function_Reference/add_image_size

But if you wanted to filter it on to the framework instead, you’d do it like this:

function my_image_sizes( $sizes ) {
    $sizes['square-smallish'] = array(
        'name' => 'Smallish Square',
        'width' => '90',
        'height' => '90',
        'crop' => true
    );
    return $sizes;
}
add_filter( 'themeblvd_image_sizes', 'my_image_sizes' );