you must add
add_theme_support( 'post-thumbnails' );
in functions.php
in your theme
you can also use add_image_size
function to add custom size
you must add
add_theme_support( 'post-thumbnails' );
in functions.php
in your theme
you can also use add_image_size
function to add custom size