Change image style in view depending on node type
Here is a better way to format your image or check out this post http://drupal.org/node/958726

$hero_image = array(
  'style_name' =&gt; 'case_study_teaser',
  'path' =&gt; $image['uri'],
  'width' =&gt; '',
  'height' =&gt; '',
  'alt' =&gt; $image['alt'],
  'title' =&gt; $image['title'],
  );
print theme('image_style',$hero_image);