In wordpress, you can set the width and height of the thumbnail image by:

the_post_thumbnail(array(270,270));