--- photosOrig.module	2010-03-28 12:40:07.571984583 +0200
+++ photos.module	2010-03-27 18:40:18.000000000 +0100
@@ -774,10 +774,12 @@ function _photos_block_image($type, $lim
 		$image[] = photos_get_info(0, $images);
 	}
   if($image[0]['fid']){
-    $content = theme('photos_block', $image, 'image');
+    $content = "<div class=\"photos_block\">";
+    $content .= theme('photos_block', $image, 'image');
 		if($url && count($image) >= $limit){
 			$content .=theme('more_link', url($url), t('View more'));
 		}
+    $content .= "</div>";
     if($type == 'user') {
       return array($content, $image[0]['name']);
     }else{
@@ -809,10 +811,12 @@ function _photos_block_album($type, $lim
     ++$i;
 	}
   if($i){
-    $content = theme('photos_block', $album, 'album');
+    $content = "<div class=\"photos_block\">";
+    $content .= theme('photos_block', $album, 'album');
 		if($url && $i >= $limit){
 			$content .=theme('more_link', url($url), t('View more'));
 		}
+    $content .= "</div>";
     if($type == 'user') {
       return array($content, $album[0]['node']->name);
     }else{
@@ -1670,4 +1674,4 @@ function _photos_filter_process($mat) {
       }
     }
   }
-}
\ No newline at end of file
+}
