? patch.patch
Index: link_screenshot/link_screenshot.module
===================================================================
RCS file: /cvs/drupal/contributions/modules/website_screenshot/link_screenshot/Attic/link_screenshot.module,v
retrieving revision 1.1.2.4
diff -u -p -r1.1.2.4 link_screenshot.module
--- link_screenshot/link_screenshot.module	23 Jul 2010 17:46:02 -0000	1.1.2.4
+++ link_screenshot/link_screenshot.module	2 Aug 2010 23:02:00 -0000
@@ -150,7 +150,7 @@ function theme_link_screenshot_formatter
     $attributes['class'] .= ' screenshot-default';
   }
   $title = $element['#item']['display_title'];
-  $preset = substr($element['#formatter'], strrpos($element['#formatter'], '_') + 1);
+  $preset = substr($element['#formatter'], strpos($element['#formatter'], '_') + 1);
   
   return theme('imagecache', $preset, $wss->absolute_path . $wss->filename, $title, $title, $attributes);
 }
@@ -160,7 +160,7 @@ function theme_link_screenshot_formatter
     **/
 function theme_link_screenshot_formatter_link_imagecache($element) {
   $url = $element['#item']['url'];
-  $preset = substr($element['#formatter'], strrpos($element['#formatter'], '_') + 1);
+  $preset = substr($element['#formatter'], strpos($element['#formatter'], '_') + 1);
   $image = theme('link_screenshot_formatter_plain_'.$preset , $element ); 
   $attributes = array('class' => 'screenshot', 'title' => $title);
   return l($image, $url, array('html' => TRUE, 'attributes' => $attributes));
@@ -169,7 +169,7 @@ function theme_link_screenshot_formatter
 
 function theme_link_screenshot_formatter_popup_imagecache($element){
   $url = $element['#item']['url'];
-  $preset = substr($element['#formatter'], strrpos($element['#formatter'], '_') + 1);
+  $preset = substr($element['#formatter'], strpos($element['#formatter'], '_') + 1);
   $wss = wss_screenshot($url);
   $file =  $wss->filename;
   $attributes = array('class' => 'screenshot imagecache imagecache-'. $preset);
@@ -181,14 +181,14 @@ function theme_link_screenshot_formatter
     $attributes['class'] .= ' screenshot-default';
   }
   $title = $element['#item']['display_title'];
-  $preset = substr($element['#formatter'], strrpos($element['#formatter'], '_') + 1);
+  $preset = substr($element['#formatter'], strpos($element['#formatter'], '_') + 1);
   $html_image = theme('imagecache', $preset, $wss->absolute_path . $wss->filename, $title, $title, $attributes);
   return l($html_image, $wss->absolute_url . $wss->filename, array('html'=>TRUE, 'attributes'=> array('rel'=>"lightbox") ));
 
 }
 
 function theme_link_screenshot_formatter_popup_imagecache_link($element){
-  $preset = substr($element['#formatter'], strrpos($element['#formatter'], '_') + 1);
+  $preset = substr($element['#formatter'], strpos($element['#formatter'], '_') + 1);
   $html_image = theme('link_screenshot_formatter_popup_'.$preset , $element );
   return $html_image .'<br>'. l($element['#item']['display_title'] , $element['#item']['display_url'], $element['#item']['attributes']) ;
 
