dompascal
11/23/2013 - 11:08 AM

WP - Image Sizes Function

WP - Image Sizes Function

if ( function_exists( 'add_theme_support' ) ) { // Added in 2.9
 	add_theme_support( 'post-thumbnails' );
 	set_post_thumbnail_size( 600, 50, true ); // Normal post thumbnails
 	add_image_size( 'thumb',150, 9999 ); // Permalink thumbnail
}