Hey everyone,
In Drupal 6, I would do the following to get images in my node--articles.tpl.php page:
<?php
$cck_images = $node->field_image;
if (count($cck_images)>0) :
foreach ($cck_images as $cck_image) :
$image = theme('imagecache', 'large', $cck_image['filepath'], $cck_image['data']['alt'], $cck_image['data']['title']);
print $image;
endforeach;
endif;
?>
However, in Drupal 7 there is not a '['filepath']', I have tried using:
<?php print_r($field_image); ?>
But the variable is not there. I know Drupal 7 is still in alpha, but any help would be greatly appreciated!