I have impletmented the built in WP thumbnails here: http://www.artclassesnowra.com/gallery/
But as you can see some look squashed! Here is my code:
// This theme uses post thumbnails add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 274, 163 ); add_image_size( 'artwork-thumbnail', 274, 163 ); <?php $imgfullpath = get_the_post_thumbnail($post->ID, 'full'); if ( preg_match('/src="([^"]*)"/', $imgfullpath, $imgfullpath) ) $imgfullpath = $imgfullpath; else $imgfullpath = ''; ?> <a class="thickbox fancybox" title="<?php the_title(); ?>" href="<?php echo $imgfullpath; ?>"><?php the_post_thumbnail( 'artwork-thumbnail' ); ?></a>
Can some one help me out because I can't get them to appear correctly. As in not being squished into the image size specified.