views:

15

answers:

0

Hi. I am having an issue with Wordpress not resizing thumbnails correctly.

The thumbnails are supposed to be cropped to width 590px & height 200px and keep its proportions rather than stretching the image. However, it is not doing so.

See this page for reference:

http://www.matthewruddy.com/demo/

Here are the codes:

add_theme_support( 'post-thumbnails' );
add_image_size('largethumbnail',590,200,true);

index.php code:

<?php the_post_thumbnail('largethumbnail'); ?>

Shouldn't this be working correctly? Would really appreciate if anyone could help me out here. Thanks..