i saw a interesting post on Stackoverflow where someone showed a code to to use the post title als alt tag for the featured post. So i tried to use the code for myself and change it a bit because mine differs a bit.
Original Code
$title=get_the_title(); the_post_thumbnail( array(150, 150),array( 'alt' =>$title) );
I changed it to
<?php $title=get_the_title(); the_post_thumbnail( array($size),array( 'alt' =>$title) ); ?>
The problem is that $size is not working correctly anymore it came out with 150px x 150px. (My original code is <?php the_post_thumbnail( $size ); ?>
)
I hope that someone could tell me what is wrong with it =o