How about using WP’s built-in post thumbnail function?
Here’s the code my theme has in functions.php.
<?php if ( function_exists("add_theme_support") ) { add_theme_support("post-thumbnails"); } ?>
I have tried adding the following to my sidebar, but nothing is displayed.
<?php the_post_thumbnail( 'single-post-thumbnail' ); ?>
I would also like to set the max width to 180px.
Any ideas?
-Scott