The post thumbnail size issues

Posted by user195257 on Stack Overflow See other posts from Stack Overflow or by user195257
Published on 2010-03-12T10:02:40Z Indexed on 2010/03/12 10:07 UTC
Read the original article Hit count: 371

Filed under:
|

Hey

Im using this in my wordpress functions.php

add_theme_support( 'post-thumbnails' );

set_post_thumbnail_size( 150, 150 );

Im then using it like this

<a href="<?php the_permalink(); ?>"><?php the_post_thumbnail(); ?></a>

However, the image is displayed

<img width="150" height="109" ...

The images themselves are 300px x 300px, anyone know whats going on here?

© Stack Overflow or respective owner

Related posts about Wordpress

Related posts about thumbnail