I have searched around but I've found no simple way for doing this. I have themes I bought from ReadyThemes.com that all have timthumb as the image resizer. I would prefer to use Wordpresses default resizer, or something similar. I have seen people recommending to switch to the_post_thumbnail but I can't figure out how to do this. The suggestions aren't a one size fits all fix, and I don't want to butcher the code. Looking through my code, for example I found this:
<a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_directory'); ?>/custom/imgresize.php?src=<?php echo $image[0]; ?>&w=200&h=200" alt="<?php the_title(); ?>" /></a>
and this:
<a href="<?php the_permalink(); ?>"><img src="<?php bloginfo('template_directory'); ?>/custom/imgresize.php?src=<?php echo $image[0]; ?>&w=60&h=60" border="0" align="left" title="<?php the_title(); ?>" alt="<?php the_title(); ?>" /></a>
It calls the timthumb script with imgresize.php. Personally, I feel the best fix would be to replace all the code in imgresize.php with a way to call the_post_thumbnail, but I don't know how to do this.
What can I do to fix this?