I am working on the WordPress Twenty Ten theme, and I want to display post thumbnails. I have followed the steps below:
Added following code in functions.php file:
if ( function_exists( 'add_theme_support' ) ) { add_theme_support( 'post-thumbnails' ); }I have also defined post thumbnail size,
set_post_thumbnail_size( 150, 150 );And I configured the media settings from the admin panel of WordPress to not to crop image. but this is cropping the image.
Using this in loop.php file,
the_post_thumbnail(array(150,150);
I do not want to crop the image. How can I do this? Please help where I am wrong in my process.
Thanks in advance.
