Is there a way I can hook into the wp_get_attachment_image() function to wrap further HTML around the image? A quick look in wp-includes/media.php doesn't appear to allow for any filters or actions?
Ideally there would be something like this around line 665:
$html = apply_filters('wp_get_attachment_image', $html);
http://core.trac.wordpress.org/browser/tags/3.0.1/wp-includes/media.php