diff --git imagecache_profiles.module imagecache_profiles.module
index 78e41f2..c9e5209 100644
--- imagecache_profiles.module
+++ imagecache_profiles.module
@@ -184,7 +184,7 @@ function imagecache_profiles_comment_view($comment) {
   if (theme_get_setting('toggle_comment_user_picture')) {
     // If this is a comment preview, we need to manually add $comment->picture.
     if (!empty($comment->uid) && !isset($comment->picture)) {
-      $comment->picture = db_query("SELECT picture FROM {users} WHERE uid = :uid", array(':uid' => $comment->uid))->fetchField();
+      $comment->picture = _imagecache_profiles_get_comment_author($comment->uid);
     }
     if ($style = variable_get('user_picture_style_comments', '')) {
       $comment->user_picture_style = $style;
@@ -217,3 +217,14 @@ function imagecache_profiles_views_api() {
 function imagecache_profiles_views_data_alter(&$data) {
   $data['users']['picture']['field']['handler'] = 'imagecache_profiles_handler_field_user_picture';
 }
+
+/**
+ * Static cache for comment author's pictures.
+ */
+function _imagecache_profiles_get_comment_author($uid) {
+  static $pictures = array();
+  if (!isset($pictures[$uid])) {
+    $pictures[$uid] = db_query("SELECT picture FROM {users} WHERE uid = :uid", array(':uid' => $uid))->fetchField();
+  }
+  return $pictures[$uid];
+}
