*** /home/gnat/Desktop/drupal-6.15/sites/all/modules/hover_preview/hover_preview.module	2010-02-17 11:26:03.000000000 +0530
--- /home/gnat/Documents/Downloads/hover_preview/hover_preview.module	2010-02-12 05:55:08.000000000 +0530
***************
*** 102,113 ****
    // Generate the imagecache html
    $class = "imagecache imagecache-$preset_a imagecache-$style imagecache-{$element['#formatter']}";
    $class .= " hover-preview";
! 
!   $imagetag = theme('imagecache', $preset_a, $item['filepath'], $alt, $title, array('class' => $class, 'id' => $preview_id));
! 
!    //get path for node
!   $path = empty($item['nid']) ? '' : 'node/'. $item['nid'];
!   $output = l($imagetag, $path, array('attributes' => array('class' => $class), 'html' => TRUE));
  
    $counter++;
    return $output . $preview_text;
--- 102,108 ----
    // Generate the imagecache html
    $class = "imagecache imagecache-$preset_a imagecache-$style imagecache-{$element['#formatter']}";
    $class .= " hover-preview";
!   $output = theme('imagecache', $preset_a, $item['filepath'], $alt, $title, array('class' => $class, 'id' => $preview_id));
  
    $counter++;
    return $output . $preview_text;
