Return to Snippet

Revision: 41284
at February 15, 2011 13:00 by discipolo


Initial Code
<?php 
$path = image_style_url('thumbnail', $result['node']->field_cover_image['de'][0]['uri']);
print theme('image', array(
'path'  => $path,
'alt'   => t('Home'),
'title' => t('Home')))
?>

Initial URL
http://drupal.org/node/1047382#comment-4092634

Initial Description
this took me forever to figure out!

Initial Title
Drupal 7 images in searchresultts

Initial Tags
images

Initial Language
PHP